getAssetSignatures
Retrieve a list of transaction signatures linked to a compressed asset.
Returns transaction signatures for a given asset, supporting only compressed assets created by the Metaplex Bubblegum program. This is the easiest way to look up historical transactions for these assets.
info
Infura does not currently support params
as a JSON object.
Instead, parameters must be passed as a positional array, following the exact order defined in the method's
specification. This may differ from some other providers, where parameters are typically wrapped in an
object containing key/value pairs.
Parameters
id
: (string) [required] - Thebase58
encoded public key of the asset.owner
: (string) [optional] - Thebase58
encoded public key of the asset owner.page
: (number) [optional] - The current pagination page.limit
: (number) [optional] - The number of results per page.cursor
: (string) [optional] - Optional pagination cursor.before
: (string) [optional] - Return results before the specified signature.after
: (string) [optional] - Return results after the specified signature.
Returns
result
- An object containing the following fields:
total
- The total number of transaction signatures matching the query.limit
- The maximum number of transaction signatures returned in this response.page
- The current pagination page.items
- An array of transaction signature objects. Each object contains:signature
- The transaction signature.type
- The type of the signature.
Example
Replace <YOUR-API-KEY>
with your API key.
Request
- curl
curl https://solana-mainnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getAssetSignatures",
"params": [
"D85MZkvir9yQZFDHt8U2ZmS7D3LXKdiSjvw2MBdscJJa",
null,
1,
null,
null,
null,
null
]
}'
Response
- JSON
{
"jsonrpc": "2.0",
"result": {
"total": 1,
"limit": 1000,
"page": 1,
"items": [
[
"3b52uoDvGTkJKk7ygozyK38gfrU8iruz2VPRZPFJKY1zUgWCA8df1ZZUFf5zwokwhEinsofHxiY7mMMuFsik6bjW",
"MintToCollectionV1"
]
]
},
"id": 1
}