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/triggerconstantcontract
Method not allowed
调用合同数据查询合同的合同的可读函数(通过视图或纯修改器修改); 或调用合同的非读书功能,以预测是否可以成功执行交易或估算能源消耗
TriggerConstantContract操作不会生成链交易,也不会更改当前节点的状态。
用于估计能量:使用triggerContantContract调用合同的非读方法,而返回值中的能量_可以的字段是能量消耗。 因此,可以将交易的费用设置为Energy_used x Energy单位价格。
owner_address
-
细绳
所有者地址触发合同。 如果可见= true,请使用base58检查格式,否则使用十六进制格式。 为了恒定电话,您可以使用全零地址。
contract_address
-
细绳
智能合约地址。 如果可见= true,请使用base58检查格式,否则使用十六进制格式。
function_selector
-
细绳
功能调用,不得留空。
parameter
-
细绳
参数编码需要符合ABI规则,规则更为复杂,用户可以使用Ethers库进行编码,有关详细信息,请参阅文档固定合同 - 最佳练习参数编码和解码。
visible
-
细绳
可选。当地址为base58格式时。
curl --location --request POST 'https://trx.getblock.io/wallet/triggerconstantcontract' --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
POST /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
POST /wallet/listnodes
POST /wallet/getchainparameters
POST /wallet/getenergyprices
POST /wallet/getbandwidthprices
POST /wallet/gettransactionlistfrompending
POST /wallet/gettransactionfrompending
POST /wallet/getpendingsize
POST /wallet/listproposals
POST /wallet/getproposalbyid
POST /wallet/getnextmaintenancetime
POST /wallet/createaccount
POST /wallet/getaccount
POST /wallet/updateaccount
POST /wallet/accountpermissionupdate
POST /wallet/getaccountbalance
POST /wallet/getaccountresource
POST /wallet/getaccountnet
POST /wallet/freezebalance
POST /wallet/unfreezebalance
POST /wallet/getdelegatedresource
POST /wallet/getdelegatedresourceaccountindex
POST /wallet/generateaddress
POST /wallet/createaddress
POST /wallet/getexchangebyid
POST /wallet/exchangecreate
POST /wallet/exchangeinject
POST /wallet/exchangewithdraw
POST /wallet/exchangetransaction
POST /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
POST /wallet/getspendingkey
POST /wallet/getexpandedspendingkey
POST /wallet/getakfromask
POST /wallet/getnkfromnsk
POST /wallet/getincomingviewingkey
POST /wallet/getdiversifier
POST /wallet/getzenpaymentaddress
POST /wallet/getnewshieldedaddress
POST /wallet/createshieldedcontractparameters
POST /wallet/createspendauthsig
POST /wallet/gettriggerinputforshieldedtrc20contract
POST /wallet/scanshieldedtrc20notesby
POST /wallet/scanshieldedtrc20notesbyovk
POST /wallet/isshieldedtrc20contractnotespent
POST /walletsolidity/getaccount
POST /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
POST /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
POST /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