You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello All,
I want to use this lib to transfer a TRC20 token by a request of TriggerSmartContract var request = new TriggerSmartContract { OwnerAddress = ByteString.CopyFromUtf8("address"), TokenId = token_id, CallTokenValue = 10, // to send 10 tokens CallValue = 0, ContractAddress = ByteString.CopyFromUtf8("address"), Data = ByteString.CopyFromUtf8(???) };
And I found this method to call: return await GetWallet().TriggerContractAsync(request, _configuration.GetCallOptions(token));
So cound you please tell me what is the value of 'Data' property of TriggerSmartContract object?
Your help appreciated.
The text was updated successfully, but these errors were encountered:
Hello All,
I want to use this lib to transfer a TRC20 token by a request of TriggerSmartContract
var request = new TriggerSmartContract { OwnerAddress = ByteString.CopyFromUtf8("address"), TokenId = token_id, CallTokenValue = 10, // to send 10 tokens CallValue = 0, ContractAddress = ByteString.CopyFromUtf8("address"), Data = ByteString.CopyFromUtf8(???) };
And I found this method to call:
return await GetWallet().TriggerContractAsync(request, _configuration.GetCallOptions(token));
So cound you please tell me what is the value of 'Data' property of TriggerSmartContract object?
Your help appreciated.
The text was updated successfully, but these errors were encountered: