getTokenAccountsByDelegate, RPC on carbium services: returns {context: {apiVersion, slot}, value: [{account: {data: [string], executable, lamports, owner, rentEpoch, space}, pubkey}]}. Its price in credits: 205 + 10 a row past 20. A JSON-RPC batch refuses it.
| param | type | ||
|---|---|---|---|
| delegate | pubkey | req | |
| filter | {mint} or {programId} | req | exactly one of the two, a pubkey |
| config | {commitment?, encoding?, dataSlice?, minContextSlot?} | opt | encoding: base58, base64, base64+zstd or jsonParsed |
{"jsonrpc":"2.0","id":1,"method":"getTokenAccountsByDelegate","params":["<delegate>",{"mint":"<mint>"},{"encoding":"base64"}]}answer{context: {apiVersion, slot}, value: [{account: {data: [string], executable, lamports, owner, rentEpoch, space}, pubkey}]}
refuses200 -32010 program not provisioned; 429 -32010 scan index temporarily unavailable; 400 -32600 sent in a batch; 501 -32004 a commitment or encoding not served