FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests
Method: POST /wallet/triggersmartcontract
Method not allowed
Returns TransactionExtention, which contains the unsigned Transaction
owner_address
- string
Address that triggers the contract, converted to a hex string.
contract_address
- string
Contract address, converted to a hex string
function_selector
- string
Function call, must not be left blank
parameter
- string
Parameter encoding needs to be in accordance with the ABI rules, the rules are more complicated, users can use the ethers library to encode,For details, please refer to the document-Guide-Smart Contract-Best Practice-Parameter Encoding and Decoding.
fee_limit
- int32
Maximum TRX consumption, measured in SUN (1 TRX = 1,000,000 SUN).
call_value
- int32
Amount of TRX transferred with this transaction, measured in SUN (1 TRX = 1,000,000 SUN).
permission_id
- int32
Optional, for multi-signature
visible
- boolean
Optional. Whehter the address is in base58check format.
curl --location --request POST 'https://trx.getblock.io/wallet/triggersmartcontract' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
POST /wallet/validateaddress
GET /wallet/listexchanges
POST /wallet/getblock
POST /wallet/getblockbynum
POST /wallet/getblockbyid
POST /wallet/getblockbylatestnum
POST /wallet/getblockbylimitnext
POST /wallet/getnowblock
POST /wallet/gettransactionbyid
POST /wallet/gettransactioninfobyid
POST /wallet/gettransactioninfobyblocknum
GET /wallet/listnodes
GET /wallet/getchainparameters
GET /wallet/getenergyprices
GET /wallet/getbandwidthprices
GET /wallet/gettransactionlistfrompending
POST /wallet/gettransactionfrompending
GET /wallet/getpendingsize
GET /wallet/listproposals
POST /wallet/getproposalbyid
POST /wallet/getnextmaintenancetime
POST /wallet/createaccount
POST /wallet/getaccount
POST /wallet/updateaccount
POST /wallet/accountpermissionupdate
POST /wallet/getaccountresource
POST /wallet/getaccountnet
POST /wallet/freezebalance
POST /wallet/unfreezebalance
POST /wallet/getdelegatedresource
POST /wallet/getdelegatedresourceaccountindex
POST /wallet/getaccountbalance
GET /wallet/generateaddress
POST /wallet/createaddress
POST /wallet/getexchangebyid
POST /wallet/exchangecreate
POST /wallet/exchangeinject
POST /wallet/exchangewithdraw
POST /wallet/exchangetransaction
GET /wallet/getnodeinfo
POST /wallet/getblockbalance
POST /wallet/proposalcreate
POST /wallet/proposalapprove
POST /wallet/proposaldelete
POST /wallet/getcontract
POST /wallet/getcontractinfo
POST /wallet/triggersmartcontract
POST /wallet/triggerconstantcontract
POST /wallet/deploycontract
POST /wallet/updatesetting
POST /wallet/updateenergylimit
POST /wallet/clearabi
GET /wallet/getspendingkey
POST /wallet/getexpandedspendingkey
POST /wallet/getakfromask
POST /wallet/getnkfromnsk
POST /wallet/getincomingviewingkey
GET /wallet/getdiversifier
POST /wallet/getzenpaymentaddress
GET /wallet/getnewshieldedaddress
POST /wallet/createshieldedcontractparameters
POST /wallet/createspendauthsig
POST /wallet/gettriggerinputforshieldedtrc20contract
POST /wallet/scanshieldedtrc20notesby
POST /wallet/scanshieldedtrc20notesbyovk
POST /wallet/isshieldedtrc20contractnotespent
POST /walletsolidity/getaccount
GET /walletsolidity/getnowblock
POST /walletsolidity/getblockbylatestnum
POST /walletsolidity/getblockbynum
POST /walletsolidity/gettransactionbyid
POST /wallet/gettransactionsign
POST /wallet/broadcasttransaction
POST /wallet/broadcasthex
POST /wallet/easytransfer
POST /wallet/easytransferbyprivate
POST /wallet/createtransaction
POST /wallet/getassetissuebyaccount
POST /wallet/getassetissuebyid
GET /wallet/getassetissuelist
POST /wallet/getpaginatedassetissuelist
POST /wallet/transferasset
POST /wallet/createassetissue
POST /wallet/participateassetissue
POST /wallet/unfreezeasset
POST /wallet/updateasset
POST /wallet/easytransferasset
POST /wallet/easytransferassetbyprivate
GET /wallet/listwitnesses
POST /wallet/createwitness
POST /wallet/updatewitness
POST /wallet/getBrokerage
POST /wallet/updateBrokerage
POST /wallet/votewitnessaccount
POST /wallet/getReward
POST /wallet/withdrawbalance
Nodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitPartnerships
Media KitFeel Free to Reach Out Anytime! 👋
FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
KakaoTalk