Custom charges container for transaction content

Extensible structure to support various operation types that require cost estimation. Each field is optional and specific to operation type.

// IPFS operation with custom charges
const tx: TransactionContent = {
type: "ipfs",
// ... other fields
custom_charges: {
ipfs: {
max_cost_dem: "1000000000000000000",
file_size_bytes: 1024,
operation: "IPFS_ADD"
}
}
}
interface CustomCharges {
    ipfs?: IPFSCustomCharges;
}

Properties

Properties

IPFS operation cost configuration