Structs§
Enums§
Functions§
- batch_
make_ transfer_ transactions - A helper function to make Transactions with controlled accounts in WalletContext. Particularly, the wallet needs to own gas objects for transactions. However, if this function is called multiple times without any “sync” actions on gas object management, txns may fail and objects may be locked.
- create_
nft - Pre-requisite:
publish_nfts_packagemust be called before this function. Executes a transaction to create an NFT and returns the sender address, the object id of the NFT, and the digest of the transaction. - delete_
nft - Executes a transaction to delete the given NFT.
- emit_
new_ random_ u128 - Executes a transaction that generates a new random u128 using Random and emits it as an event.
- increment_
counter - Executes a transaction to increment a counter object.
Must be called after calling
publish_basics_package_and_make_counter. - make_
publish_ transaction - make_
publish_ transaction_ with_ deps - make_
staking_ transaction - make_
transfer_ sui_ transaction - publish_
basics_ package - Executes a transaction to publish the
basicspackage and returns the package object ref. - publish_
basics_ package_ and_ make_ counter - Executes a transaction to publish the
basicspackage and another one to create a counter. Returns the package object ref and the counter object ref. - publish_
basics_ package_ and_ make_ party_ object - Executes a transaction to publish the
basicspackage and another one to create a party object. Returns the package object ref and the counter object ref. - publish_
nfts_ package - Executes a transaction to publish the
nftspackage and returns the package id, id of the gas object used, and the digest of the transaction. - publish_
package