Returns keys of a contract bigmap with the specified name.
/v1/contracts/{address}/bigmaps/{name}/keys
Contract address
Bigmap name is the last piece of the bigmap storage path.
For example, if the storage path is ledger
or assets.ledger
, then the name is ledger
.
If there are multiple bigmaps with the same name, for example assets.ledger
and tokens.ledger
, you can specify the full path.
Filters keys by status: true
- active, false
- removed.
Filters keys by JSON key. Note, this query parameter supports the following format: ?key{.path?}{.mode?}=...
,
so you can specify a path to a particular field to filter by, for example: ?key.token_id=...
.
Filters keys by JSON value. Note, this query parameter supports the following format: ?value{.path?}{.mode?}=...
,
so you can specify a path to a particular field to filter by, for example: ?value.balance.gt=...
.
Filters bigmap keys by the last update level.
Specify comma-separated list of fields to include into response or leave it undefined to return full object. If you select single field, response will be an array of values in both .fields
and .values
modes.
Sorts bigmap keys by specified field. Supported fields: id
(default), firstLevel
, lastLevel
, updates
.
Specifies which or how many items should be skipped
Maximum number of items to return
Format of the bigmap key and value: 0
- JSON, 1
- JSON string, 2
- Micheline, 3
- Micheline string
Returns the specified bigmap key.
/v1/contracts/{address}/bigmaps/{name}/keys/{key}
Contract address
Bigmap name is the last piece of the bigmap storage path.
For example, if the storage path is ledger
or assets.ledger
, then the name is ledger
.
If there are multiple bigmaps with the same name, for example assets.ledger
and tokens.ledger
, you can specify the full path.
Either a key hash (expr123...
) or a plain value (foo...
).
Even if the key is complex (an object or an array), you can specify it as is, for example, /keys/{"address":"tz123","nat":"123"}
.
Format of the bigmap key and value: 0
- JSON, 1
- JSON string, 2
- Micheline, 3
- Micheline string