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 chargesconst tx: TransactionContent = { type: "ipfs", // ... other fields custom_charges: { ipfs: { max_cost_dem: "1000000000000000000", file_size_bytes: 1024, operation: "IPFS_ADD" } }} Copy
// IPFS operation with custom chargesconst tx: TransactionContent = { type: "ipfs", // ... other fields custom_charges: { ipfs: { max_cost_dem: "1000000000000000000", file_size_bytes: 1024, operation: "IPFS_ADD" } }}
Optional
IPFS operation cost configuration
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.
Example