You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a json data from Dapp, then I tried to create a SigningInput object, and invoke sign() method, at last, when I called the broadcasttransaction api, it returned "SIGERROR", I didn't know what step was wrong, could you help me? Thanks!
The data of Tron:
▿ 4 elements
▿ 0 : 2 elements
- key : "txID"
- value : 9e17d5b4929eb962540a1bf00686b450f2d22f3c29f2c0cbbe9338048086e60e
▿ 1 : 2 elements
- key : "raw_data_hex"
- value : 0a02f7192208c9922c47b15a383e4088e3cac1bf2f5ab101081f12ac010a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d617274436f6e747261637412770a1541f4ea52c222af5033009f9c0eac9b31e78174658c121541ec5e8661f8855b1724d4f668f11ab722b4b3b74d18904e22444bf3e2d0000000000000000000000000000000000000000000000000000000000000042b000000000000000000000000000000000000000000000000000000006145aec970e9a9c7c1bf2f900180e1eb17
▿ 2 : 2 elements
- key : "visible"
- value : 0
▿ 3 : 2 elements
- key : "raw_data"
▿ value : 6 elements
▿ 0 : 2 elements
- key : contract
▿ value : 1 element
▿ 0 : 2 elements
▿ 0 : 2 elements
- key : type
- value : TriggerSmartContract
▿ 1 : 2 elements
- key : parameter
▿ value : 2 elements
▿ 0 : 2 elements
- key : value
▿ value : 4 elements
▿ 0 : 2 elements
- key : contract_address
- value : 41ec5e8661f8855b1724d4f668f11ab722b4b3b74d
▿ 1 : 2 elements
- key : data
- value : 4bf3e2d0000000000000000000000000000000000000000000000000000000000000042b000000000000000000000000000000000000000000000000000000006145aec9
▿ 2 : 2 elements
- key : call_value
- value : 10000
▿ 3 : 2 elements
- key : owner_address
- value : 41f4ea52c222af5033009f9c0eac9b31e78174658c
▿ 1 : 2 elements
- key : type_url
- value : type.googleapis.com/protocol.TriggerSmartContract
▿ 1 : 2 elements
- key : ref_block_bytes
- value : f719
▿ 2 : 2 elements
- key : timestamp
- value : 1631956620521
▿ 3 : 2 elements
- key : fee_limit
- value : 50000000
▿ 4 : 2 elements
- key : expiration
- value : 1631956677000
▿ 5 : 2 elements
- key : ref_block_hash
- value : c9922c47b15a383e
First, I called getnowblock api to get the blockHeader infor, then I tried to create a SigningInput object:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I got a json data from Dapp, then I tried to create a
SigningInput
object, and invokesign()
method, at last, when I called thebroadcasttransaction
api, it returned "SIGERROR", I didn't know what step was wrong, could you help me? Thanks!The data of Tron:
First, I called
getnowblock
api to get the blockHeader infor, then I tried to create a SigningInput object:Beta Was this translation helpful? Give feedback.
All reactions