[full txn obj layout]TriggerSmartContract

Returns TransactionExtention, which contains the unsigned Transaction

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Note:
Reference examples for encoding and decoding ABI parameters: Parameter and return value encoding and decoding


Related resources

Body Params
string
required
Defaults to TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g

Transaction initiator address. (Format: Base58 or Hex)

string
required
Defaults to TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs

Contract address. (Format: Base58 or Hex)

string
Defaults to transfer(address,uint256)

Function selector, e.g., transfer(address,uint256).

string
Defaults to 00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032

ABI-encoded function parameters (Hex String).

string

This field transmits the necessary data for smart contract interaction, including the function being called and its parameters. You may choose to use the data field, which contains the complete ABI-encoded information, or use the function_selector and parameter fields separately. Note that if both data and function_selector are present, the system will prioritize using the function_selector and parameter fields for the contract interaction.

int32
required
Defaults to 1000000000

Maximum TRX (in sun) the caller agrees to pay for transaction fees. (Unit: sun). Example: 1000000000 (1,000 TRX)

int64
Defaults to 0

Amount of TRX transferred into the contract. (Unit: sun)

int64

Amount of TRC-10 token transferred into the contract.

int64

TRC-10 token ID

boolean
Defaults to true

Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json