method.send()
send
to execute a non-pure or modify smart contract method on a given smart contract that modifies or changes values on the blockchain. These methods consume resources (bandwidth and energy) to perform as the changes need to be broadcasted out to the network.
Parameter | Description | Data Type |
---|---|---|
feeLimit | The maximum SUN consumed by calling this contract method. Hard capped at 10,000 TRX. (1TRX = 1,000,000SUN) | Integer |
callValue | Amount of TRX transferred with this transaction, measured in SUN (1 TRX = 1,000,000 SUN). | Integer |
shouldPollResponse | If set to TRUE, this will wait until the transaction is confirmed on the Solidity node before returning the result. | Boolean |
tokenId | If the function accepts a TRC10 token, then the ID of the token. | String |
tokenValue | Amount of token sent with the call. | Integer |
No need to pass parameters.
Object