nftTransfer method
Implementation
Future<dynamic> nftTransfer(
Web3 web3,
String nftTransferContractAddress,
String walletAddress,
String contractAddress,
String receiverAddress,
num tokenId, {
String network = 'fuse',
Map? transactionBody,
}) async {
Map<String, dynamic> data = await web3.transferNFTOffChain(
nftTransferContractAddress,
walletAddress,
contractAddress,
receiverAddress,
tokenId,
network: network,
transactionBody: transactionBody,
);
Response response = await _dio.post(
'/v1/relay',
options: options,
data: data,
);
return response.data;
}