searchAssets, DAS API on carbium services: returns the DAS result; nativeBalance: {lamports} last when asked. It costs 1 credit, and a JSON-RPC batch can hold it.
| param | type | ||
|---|---|---|---|
| ownerAddress | pubkey | opt | |
| tokenType | string | opt | fungible, nonFungible, regularNft or all |
| limit | number | opt | |
| page | number | opt | |
| sortBy | {sortBy, sortDirection} | opt | |
| options.showNativeBalance | bool | opt | adds nativeBalance when an owner is named |
{"jsonrpc":"2.0","id":1,"method":"searchAssets","params":{"limit":50,"page":1,"sortBy":{"sortBy":"id","sortDirection":"asc"},"ownerAddress":"DFFiJgCASVfPEQgRkrjkYAPGtFyo2pygx9aGp5XpMT9H","tokenType":"fungible"}}answerthe DAS result; nativeBalance: {lamports} last when asked