sui_test_transaction_builder

Function create_nft

Source
pub async fn create_nft(
    context: &WalletContext,
    package_id: ObjectID,
) -> (SuiAddress, ObjectID, TransactionDigest)
Expand description

Pre-requisite: publish_nfts_package must 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.