Skip to content

Commit

Permalink
Add tokens-owner-indexed verification to solana spec
Browse files Browse the repository at this point in the history
  • Loading branch information
shleikes committed Sep 5, 2024
1 parent b1c2812 commit cc64d44
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cookbook/specs/solana.json
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,26 @@
"expected_value": "*"
}
]
},
{
"name": "tokens-owner-indexed",
"parse_directive": {
"function_template": "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"getTokenAccountsByOwner\",\"params\":[\"4Qkev8aNZcqFNSRhQzwyLMFSsi94jHqE8WNVTJzTP99F\",{\"programId\":\"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA\"},{\"encoding\":\"jsonParsed\"}]}",
"function_tag": "VERIFICATION",
"result_parsing": {
"parser_arg": [
"0",
"value"
],
"parser_func": "PARSE_CANONICAL"
},
"api_name": "getTokenAccountsByOwner"
},
"values": [
{
"expected_value": "*"
}
]
}
]
}
Expand Down

0 comments on commit cc64d44

Please sign in to comment.