Transactions
The transaction module has submodules that allow various operations to be carried out on the blockchain.
Properties
Blockchain Utilities
Interface that allows read and write operations on the blockchain.
See more details in blkUtilsApi
API for ERC20
Interface that allows transactions on ERC20 tokens.
See more details in erc20Api
API for ERC721
Interface that allows transactions on ERC721 contracts.
See more details in erc721Api
API for ERC1155
Interface that allows transactions on ERC1155 contracts.
See more details in erc1155Api
Orderbook API
Interface that allows transactions to be carried out on the Orderbook
.
See more details in orderApi
Utility to get the caller
This method returns an instance of CallerUtil
.
See more details in callers
Methods
Adapt a transaction
The adapterTx
method allows you to adapt a transaction and return a TransactionObserver
that allows you to observe the state of the transaction.
const tx = sdk.transactions.erc721Api.mint(mintableAsset, owner, caller);
const transactionObserver = sdk.transactions.adapterTx(tx);