Approve NFT for Sale
await contract.nft_on_approve()
- "Change" function
@param
: Receive the below object as argument
{
token_id: TokenId,
owner_id: AccountId,
approval_id: bigint,
msg: string,
}
@return
:
null
await contract.nft_on_approve()
@param
: Receive the below object as argument{
token_id: TokenId,
owner_id: AccountId,
approval_id: bigint,
msg: string,
}
@return
: null