Send Transaction
Parameter
Type
Description
var web3 = new Web3("{your node url}");
var contract = web3.Eth.GetContract("{your smart contract abi json}", "{your smart contract address}");
var function = contract.GetFunction("{Function name of the call}");
var data = function.GetData(new object[]{ "{function parameters}" });
bloctoWalletProvider.SendTransaction(
fromAddress: address,
toAddress: "{your smart contract address}"
value: 0,
data: data,
callback: txId => {
Debug.Log("TxId: {txId}");
});Last updated
Was this helpful?