curl example for filtering stake results by, policy_id and asset_name #52
-
hi i'm have trouble building a curl to filter results by policy_id and asset_name ; this works; i want filter this by a policy and asset |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, that decoded policy id is invalid. It's only 27-byte long whereas a policy id is always exactly 28 bytes. When base16-encoded, the strings is twice as long. The string you've passed is 55 characters so you're missing exactly one character, likely at the beginning or the end from a wrong copy-pasting. |
Beta Was this translation helpful? Give feedback.
Hey, that decoded policy id is invalid. It's only 27-byte long whereas a policy id is always exactly 28 bytes. When base16-encoded, the strings is twice as long. The string you've passed is 55 characters so you're missing exactly one character, likely at the beginning or the end from a wrong copy-pasting.