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 can see the following piece of message: OTHER_ERROR, <ByteString@7bae6e72 size=80 contents="Contract validate error : delegateBalance must ...">
But the full message is the following:
"Contract validate error : delegateBalance must be greater than or equal to 1 TRX"
The text was updated successfully, but these errors were encountered:
I can see the following piece of message: OTHER_ERROR, <ByteString@7bae6e72 size=80 contents="Contract validate error: delegateBalance must ..."> But the full message is the following: "Contract validate error: delegateBalance must be greater than or equal to 1 TRX"
hi, @b3lowster
From the messages you provided above, the return message of the delegateResourceV2 RPC calling is obvious, which indicates that there is something wrong with the param 'delegateBalance' you put in. The value of delegateBalance should be >=1 TRX.
here in method delegateResourceV2, the unit of param 'delegateBalance ' is sun,and 1 TRX = 1,000,000 SUN .
I think you may misunderstand the unit here and may confused with the error message. just replace the value of parm ‘delegateBalance ’ from 1 to 1000000 and try again.
hope it helps.
That's my code:
I can see the following piece of message:
OTHER_ERROR, <ByteString@7bae6e72 size=80 contents="Contract validate error : delegateBalance must ...">
But the full message is the following:
"Contract validate error : delegateBalance must be greater than or equal to 1 TRX"
The text was updated successfully, but these errors were encountered: