Blockscout — List L2 transactions in a Scroll batch
Retrieve L2 transactions bound to a specific Scroll batch number with the Blockscout API. Supply a batch number and a chain ID (chain_id). Sample fields include hashes and positions. Request fields include item count (items_count), block height (block_number). Use it for on-chain or crypto market research. The GET request schema also lists batch_number_param. Use the response in blockchain monitoring or to cross-check data against an explorer for the same network.
- Selected price
- $0 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
blockscoutCurrent Blockscout — List L2 transactions in a Scroll batch · GET | $0 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
itemsobject[]authorization_listobject[]address_hashstringauthoritystringchain_idintegernoncestringrstringsstringstatusstringvinteger
base_fee_per_gasstringblock_numberintegerconfirmation_durationinteger[]confirmationsintegercreated_contractobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
decoded_inputobjectmethod_callstringmethod_idstringparametersobject[]
exchange_ratestringfeeobjecttypestringvaluestring
fhe_operations_countintegerfromobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
gas_limitstringgas_pricestringgas_usedstringhas_error_in_internal_transactionsbooleanhashstringhistoric_exchange_ratestringis_pending_updatebooleanmax_fee_per_gasstringmax_priority_fee_per_gasstringmethodstringnonceintegerpositionintegerpriority_feestringraw_inputstringresultstringrevert_reasonobjectmethod_callstringmethod_idstringparametersobject[]
statusstringtimestampstringtoobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
token_transfersobject[]block_hashstringblock_numberintegerfromobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
log_indexintegermethodstringtimestampstringtoobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
tokenobjectaddress_hashstringcirculating_market_capstringcirculating_supplystringdecimalsstringexchange_ratestringholders_countstringicon_urlstringnamestringreputationstringsymbolstringtotal_supplystringtypestringvolume_24hstring
token_typestringtotalobjecttoken_idstringtoken_instanceobjectanimation_urlstringexternal_app_urlstringidstringimage_urlstringis_uniquebooleanmedia_typestringmedia_urlstringmetadataobjectdescriptionstringimagestringnamestring
ownerobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
thumbnailsobjectoriginalstring
tokenobjectaddress_hashstringcirculating_market_capstringcirculating_supplystringdecimalsstringexchange_ratestringholders_countstringicon_urlstringnamestringreputationstringsymbolstringtotal_supplystringtypestringvolume_24hstring
transaction_hashstringtypestring
token_transfers_overflowbooleantransaction_burnt_feestringtransaction_tagstringtransaction_typesstring[]typeintegervaluestring
next_page_paramsobjectblock_numberintegerindexinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
items?: Array<{
authorization_list?: Array<{
address_hash?: string;
authority?: string;
chain_id?: number;
nonce?: string;
r?: string;
s?: string;
status?: string;
v?: number;
}>;
base_fee_per_gas?: string;
block_number?: number;
confirmation_duration?: Array<number>;
confirmations?: number;
created_contract?: {
ens_domain_name?: string;
hash?: string;
implementations?: Array<{
address_hash?: string;
name?: string;
}>;
is_contract?: boolean;
is_scam?: boolean;
is_verified?: boolean;
metadata?: {
tags?: Array<{
meta?: Record<string, unknown>;
name?: string;
ordinal?: number;
slug?: string;
tagType?: string;
}>;
};
name?: string;
proxy_type?: string;
reputation?: string;
};
decoded_input?: {
method_call?: string;
method_id?: string;
parameters?: Array<Record<string, unknown>>;
};
exchange_rate?: string;
fee?: {
type?: string;
value?: string;
};
fhe_operations_count?: number;
from?: {
ens_domain_name?: string;
hash?: string;
implementations?: Array<{
address_hash?: string;
name?: string;
}>;
is_contract?: boolean;
is_scam?: boolean;
is_verified?: boolean;
metadata?: {
tags?: Array<{
meta?: Record<string, unknown>;
name?: string;
ordinal?: number;
slug?: string;
tagType?: string;
}>;
};
name?: string;
proxy_type?: string;
reputation?: string;
};
gas_limit?: string;
gas_price?: string;
gas_used?: string;
has_error_in_internal_transactions?: boolean;
hash?: string;
historic_exchange_rate?: string;
is_pending_update?: boolean;
max_fee_per_gas?: string;
max_priority_fee_per_gas?: string;
method?: string;
nonce?: number;
position?: number;
priority_fee?: string;
raw_input?: string;
result?: string;
revert_reason?: {
method_call?: string;
method_id?: string;
parameters?: Array<Record<string, unknown>>;
};
status?: string;
timestamp?: string;
to?: {
ens_domain_name?: string;
hash?: string;
implementations?: Array<{
address_hash?: string;
name?: string;
}>;
is_contract?: boolean;
is_scam?: boolean;
is_verified?: boolean;
metadata?: {
tags?: Array<{
meta?: Record<string, unknown>;
name?: string;
ordinal?: number;
slug?: string;
tagType?: string;
}>;
};
name?: string;
proxy_type?: string;
reputation?: string;
};
token_transfers?: Array<{
block_hash?: string;
block_number?: number;
from?: {
ens_domain_name?: string;
hash?: string;
implementations?: Array<{
address_hash?: string;
name?: string;
}>;
is_contract?: boolean;
is_scam?: boolean;
is_verified?: boolean;
metadata?: {
tags?: Array<{
meta?: Record<string, unknown>;
name?: string;
ordinal?: number;
slug?: string;
tagType?: string;
}>;
};
name?: string;
proxy_type?: string;
reputation?: string;
};
log_index?: number;
method?: string;
timestamp?: string;
to?: {
ens_domain_name?: string;
hash?: string;
implementations?: Array<{
address_hash?: string;
name?: string;
}>;
is_contract?: boolean;
is_scam?: boolean;
is_verified?: boolean;
metadata?: {
tags?: Array<{
meta?: Record<string, unknown>;
name?: string;
ordinal?: number;
slug?: string;
tagType?: string;
}>;
};
name?: string;
proxy_type?: string;
reputation?: string;
};
token?: {
address_hash?: string;
circulating_market_cap?: string;
circulating_supply?: string;
decimals?: string;
exchange_rate?: string;
holders_count?: string;
icon_url?: string;
name?: string;
reputation?: string;
symbol?: string;
total_supply?: string;
type?: string;
volume_24h?: string;
};
token_type?: string;
total?: {
token_id?: string;
token_instance?: {
animation_url?: string;
external_app_url?: string;
id?: string;
image_url?: string;
is_unique?: boolean;
media_type?: string;
media_url?: string;
metadata?: {
description?: string;
image?: string;
name?: string;
};
owner?: {
ens_domain_name?: string;
hash?: string;
implementations?: Array<{
address_hash?: string;
name?: string;
}>;
is_contract?: boolean;
is_scam?: boolean;
is_verified?: boolean;
metadata?: {
tags?: Array<{
meta?: Record<string, unknown>;
name?: string;
ordinal?: number;
slug?: string;
tagType?: string;
}>;
};
name?: string;
proxy_type?: string;
reputation?: string;
};
thumbnails?: {
original?: string;
};
token?: {
address_hash?: string;
circulating_market_cap?: string;
circulating_supply?: string;
decimals?: string;
exchange_rate?: string;
holders_count?: string;
icon_url?: string;
name?: string;
reputation?: string;
symbol?: string;
total_supply?: string;
type?: string;
volume_24h?: string;
};
};
};
transaction_hash?: string;
type?: string;
}>;
token_transfers_overflow?: boolean;
transaction_burnt_fee?: string;
transaction_tag?: string;
transaction_types?: Array<string>;
type?: number;
value?: string;
}>;
next_page_params?: {
block_number?: number;
index?: number;
};
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/transactions/scroll-batch/{batch_number_param}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/transactions/scroll-batch/0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
batch_number_param | URL path parameterspath | integer | Yes | Batch number minimum: 0 |
chain_id | URL path parameterspath | string | Yes | The ID of the blockchain |
items_count | URL query parametersquery | integer | No | Number of items per page minimum: 1 |
block_number | URL query parametersquery | integer | No | Block number for paging minimum: 0 |
index | URL query parametersquery | integer | No | Item index for paging |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Response template · not a real response · Documented HTTP 200 Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
{
"items": [
{
"authorization_list": [
{
"address_hash": "<address_hash>",
"authority": "<authority>",
"chain_id": 0,
"nonce": "<nonce>",
"r": "<r>",
"s": "<s>",
"status": "ok",
"v": 0
}
],
"base_fee_per_gas": "<base_fee_per_gas>",
"block_number": 0,
"confirmation_duration": [
1000,
2000
],
"confirmations": 0,
"created_contract": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"decoded_input": {
"method_call": "<method_call>",
"method_id": "<method_id>",
"parameters": [
{}
]
},
"exchange_rate": "<exchange_rate>",
"fee": {
"type": "maximum",
"value": "<value>"
},
"fhe_operations_count": 0,
"from": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"gas_limit": "<gas_limit>",
"gas_price": "<gas_price>",
"gas_used": "<gas_used>",
"has_error_in_internal_transactions": false,
"hash": "<hash>",
"historic_exchange_rate": "<historic_exchange_rate>",
"is_pending_update": false,
"max_fee_per_gas": "<max_fee_per_gas>",
"max_priority_fee_per_gas": "<max_priority_fee_per_gas>",
"method": "transfer",
"nonce": 0,
"position": 0,
"priority_fee": "<priority_fee>",
"raw_input": "<raw_input>",
"result": "pending",
"revert_reason": {
"method_call": "<method_call>",
"method_id": "<method_id>",
"parameters": [
{}
]
},
"status": "ok",
"timestamp": "<timestamp>",
"to": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"token_transfers": [
{
"block_hash": "<block_hash>",
"block_number": 0,
"from": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"log_index": 0,
"method": "transfer",
"timestamp": "<timestamp>",
"to": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"token": {
"address_hash": "<address_hash>",
"circulating_market_cap": "<circulating_market_cap>",
"circulating_supply": "<circulating_supply>",
"decimals": "<decimals>",
"exchange_rate": "<exchange_rate>",
"holders_count": "<holders_count>",
"icon_url": "https://example.com",
"name": "<name>",
"reputation": "ok",
"symbol": "<symbol>",
"total_supply": "<total_supply>",
"type": "ERC-20",
"volume_24h": "<volume_24h>"
},
"token_type": "ERC-20",
"total": {
"token_id": "<token_id>",
"token_instance": {
"animation_url": "https://example.com",
"external_app_url": "https://example.com",
"id": "<id>",
"image_url": "https://example.com",
"is_unique": false,
"media_type": "image/png",
"media_url": "https://example.com",
"metadata": {
"description": "Test",
"image": "https://example.com/image.png",
"name": "Test"
},
"owner": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"thumbnails": {
"original": "<original>"
},
"token": {
"address_hash": "<address_hash>",
"circulating_market_cap": "<circulating_market_cap>",
"circulating_supply": "<circulating_supply>",
"decimals": "<decimals>",
"exchange_rate": "<exchange_rate>",
"holders_count": "<holders_count>",
"icon_url": "https://example.com",
"name": "<name>",
"reputation": "ok",
"symbol": "<symbol>",
"total_supply": "<total_supply>",
"type": "ERC-20",
"volume_24h": "<volume_24h>"
}
}
},
"transaction_hash": "<transaction_hash>",
"type": "token_burning"
}
],
"token_transfers_overflow": false,
"transaction_burnt_fee": "<transaction_burnt_fee>",
"transaction_tag": "personal",
"transaction_types": [
"coin_transfer"
],
"type": 0,
"value": "<value>"
}
],
"next_page_params": {
"block_number": 14127868,
"index": 0
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Blockscout — List L2 transactions in a Scroll batch
Retrieve L2 transactions bound to a specific Scroll batch number with the Blockscout API. Supply a batch number and a chain ID (chain_id). Sample fields include hashes and positions. Request fields include item count (items_count), block height (block_number). Use it for on-chain or crypto market research. The GET request schema also lists batch_number_param. Use the response in blockchain monitoring or to cross-check data against an explorer for the same network.
## Available implementations
blockscout · Blockscout — List L2 transactions in a Scroll batch: https://openany.si/markets/apis/capabilities/blockscout-list-l2-transactions-in-a-scroll-batch?offering=87fb3b72-1e90-400e-a2bb-4c615fe6adc3 · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/blockscout-list-l2-transactions-in-a-scroll-batch
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/transactions/scroll-batch/{batch_number_param}
Price: $0 / call
Provider: blockscout
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/transactions/scroll-batch/0' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Blockscout — List L2 transactions in a Scroll batch",
"endpoint": "https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/transactions/scroll-batch/{batch_number_param}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Batch number",
"location": "path",
"minimum": "0",
"name": "batch_number_param",
"nullable": false,
"required": true,
"type": "integer"
},
{
"description": "The ID of the blockchain",
"location": "path",
"name": "chain_id",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Number of items per page",
"location": "query",
"minimum": "1",
"name": "items_count",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Block number for paging",
"location": "query",
"minimum": "0",
"name": "block_number",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Item index for paging",
"location": "query",
"name": "index",
"nullable": false,
"required": false,
"type": "integer"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Schema template · Schema template (not executed)",
"request": {
"body": null,
"headers": {},
"path": {
"batch_number_param": 0,
"chain_id": "<chain_id>"
},
"query": {}
},
"response_body": {
"items": [
{
"authorization_list": [
{
"address_hash": "<address_hash>",
"authority": "<authority>",
"chain_id": 0,
"nonce": "<nonce>",
"r": "<r>",
"s": "<s>",
"status": "ok",
"v": 0
}
],
"base_fee_per_gas": "<base_fee_per_gas>",
"block_number": 0,
"confirmation_duration": [
1000,
2000
],
"confirmations": 0,
"created_contract": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"decoded_input": {
"method_call": "<method_call>",
"method_id": "<method_id>",
"parameters": [
{}
]
},
"exchange_rate": "<exchange_rate>",
"fee": {
"type": "maximum",
"value": "<value>"
},
"fhe_operations_count": 0,
"from": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"gas_limit": "<gas_limit>",
"gas_price": "<gas_price>",
"gas_used": "<gas_used>",
"has_error_in_internal_transactions": false,
"hash": "<hash>",
"historic_exchange_rate": "<historic_exchange_rate>",
"is_pending_update": false,
"max_fee_per_gas": "<max_fee_per_gas>",
"max_priority_fee_per_gas": "<max_priority_fee_per_gas>",
"method": "transfer",
"nonce": 0,
"position": 0,
"priority_fee": "<priority_fee>",
"raw_input": "<raw_input>",
"result": "pending",
"revert_reason": {
"method_call": "<method_call>",
"method_id": "<method_id>",
"parameters": [
{}
]
},
"status": "ok",
"timestamp": "<timestamp>",
"to": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"token_transfers": [
{
"block_hash": "<block_hash>",
"block_number": 0,
"from": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"log_index": 0,
"method": "transfer",
"timestamp": "<timestamp>",
"to": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"token": {
"address_hash": "<address_hash>",
"circulating_market_cap": "<circulating_market_cap>",
"circulating_supply": "<circulating_supply>",
"decimals": "<decimals>",
"exchange_rate": "<exchange_rate>",
"holders_count": "<holders_count>",
"icon_url": "https://example.com",
"name": "<name>",
"reputation": "ok",
"symbol": "<symbol>",
"total_supply": "<total_supply>",
"type": "ERC-20",
"volume_24h": "<volume_24h>"
},
"token_type": "ERC-20",
"total": {
"token_id": "<token_id>",
"token_instance": {
"animation_url": "https://example.com",
"external_app_url": "https://example.com",
"id": "<id>",
"image_url": "https://example.com",
"is_unique": false,
"media_type": "image/png",
"media_url": "https://example.com",
"metadata": {
"description": "Test",
"image": "https://example.com/image.png",
"name": "Test"
},
"owner": {
"ens_domain_name": "<ens_domain_name>",
"hash": "<hash>",
"implementations": [
{
"address_hash": "<address_hash>",
"name": "<name>"
}
],
"is_contract": false,
"is_scam": false,
"is_verified": false,
"metadata": {
"tags": [
{
"meta": {},
"name": "<name>",
"ordinal": 0,
"slug": "<slug>",
"tagType": "<tagType>"
}
]
},
"name": "<name>",
"proxy_type": "eip1167",
"reputation": "ok"
},
"thumbnails": {
"original": "<original>"
},
"token": {
"address_hash": "<address_hash>",
"circulating_market_cap": "<circulating_market_cap>",
"circulating_supply": "<circulating_supply>",
"decimals": "<decimals>",
"exchange_rate": "<exchange_rate>",
"holders_count": "<holders_count>",
"icon_url": "https://example.com",
"name": "<name>",
"reputation": "ok",
"symbol": "<symbol>",
"total_supply": "<total_supply>",
"type": "ERC-20",
"volume_24h": "<volume_24h>"
}
}
},
"transaction_hash": "<transaction_hash>",
"type": "token_burning"
}
],
"token_transfers_overflow": false,
"transaction_burnt_fee": "<transaction_burnt_fee>",
"transaction_tag": "personal",
"transaction_types": [
"coin_transfer"
],
"type": 0,
"value": "<value>"
}
],
"next_page_params": {
"block_number": 14127868,
"index": 0
}
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Schema template · Schema template (not executed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
batch_number_param- Batch number
chain_id- The ID of the blockchain
items_count- Number of items per page
block_number- Block number for paging
index- Item index for paging
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/transactions/scroll-batch/0' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Response template · not a real response · Documented HTTP 200
Response template · not a real response{ "items": [ { "authorization_list": [ { "address_hash": "<address_hash>", "authority": "<authority>", "chain_id": 0, "nonce": "<nonce>", "r": "<r>", "s": "<s>", "status": "ok", "v": 0 } ], "base_fee_per_gas": "<base_fee_per_gas>", "block_number": 0, "confirmation_duration": [ 1000, 2000 ], "confirmations": 0, "created_contract": { "ens_domain_name": "<ens_domain_name>", "hash": "<hash>", "implementations": [ { "address_hash": "<address_hash>", "name": "<name>" } ], "is_contract": false, "is_scam": false, "is_verified": false, "metadata": { "tags": [ { "meta": {}, "name": "<name>", "ordinal": 0, "slug": "<slug>", "tagType": "<tagType>" } ] }, "name": "<name>", "proxy_type": "eip1167", "reputation": "ok" }, "decoded_input": { "method_call": "<method_call>", "method_id": "<method_id>", "parameters": [ {} ] }, "exchange_rate": "<exchange_rate>", "fee": { "type": "maximum", "value": "<value>" }, "fhe_operations_count": 0, "from": { "ens_domain_name": "<ens_domain_name>", "hash": "<hash>", "implementations": [ { "address_hash": "<address_hash>", "name": "<name>" } ], "is_contract": false, "is_scam": false, "is_verified": false, "metadata": { "tags": [ { "meta": {}, "name": "<name>", "ordinal": 0, "slug": "<slug>", "tagType": "<tagType>" } ] }, "name": "<name>", "proxy_type": "eip1167", "reputation": "ok" }, "gas_limit": "<gas_limit>", "gas_price": "<gas_price>", "gas_used": "<gas_used>", "has_error_in_internal_transactions": false, "hash": "<hash>", "historic_exchange_rate": "<historic_exchange_rate>", "is_pending_update": false, "max_fee_per_gas": "<max_fee_per_gas>", "max_priority_fee_per_gas": "<max_priority_fee_per_gas>", "method": "transfer", "nonce": 0, "position": 0, "priority_fee": "<priority_fee>", "raw_input": "<raw_input>", "result": "pending", "revert_reason": { "method_call": "<method_call>", "method_id": "<method_id>", "parameters": [ {} ] }, "status": "ok", "timestamp": "<timestamp>", "to": { "ens_domain_name": "<ens_domain_name>", "hash": "<hash>", "implementations": [ { "address_hash": "<address_hash>", "name": "<name>" } ], "is_contract": false, "is_scam": false, "is_verified": false, "metadata": { "tags": [ { "meta": {}, "name": "<name>", "ordinal": 0, "slug": "<slug>", "tagType": "<tagType>" } ] }, "name": "<name>", "proxy_type": "eip1167", "reputation": "ok" }, "token_transfers": [ { "block_hash": "<block_hash>", "block_number": 0, "from": { "ens_domain_name": "<ens_domain_name>", "hash": "<hash>", "implementations": [ { "address_hash": "<address_hash>", "name": "<name>" } ], "is_contract": false, "is_scam": false, "is_verified": false, "metadata": { "tags": [ { "meta": {}, "name": "<name>", "ordinal": 0, "slug": "<slug>", "tagType": "<tagType>" } ] }, "name": "<name>", "proxy_type": "eip1167", "reputation": "ok" }, "log_index": 0, "method": "transfer", "timestamp": "<timestamp>", "to": { "ens_domain_name": "<ens_domain_name>", "hash": "<hash>", "implementations": [ { "address_hash": "<address_hash>", "name": "<name>" } ], "is_contract": false, "is_scam": false, "is_verified": false, "metadata": { "tags": [ { "meta": {}, "name": "<name>", "ordinal": 0, "slug": "<slug>", "tagType": "<tagType>" } ] }, "name": "<name>", "proxy_type": "eip1167", "reputation": "ok" }, "token": { "address_hash": "<address_hash>", "circulating_market_cap": "<circulating_market_cap>", "circulating_supply": "<circulating_supply>", "decimals": "<decimals>", "exchange_rate": "<exchange_rate>", "holders_count": "<holders_count>", "icon_url": "https://example.com", "name": "<name>", "reputation": "ok", "symbol": "<symbol>", "total_supply": "<total_supply>", "type": "ERC-20", "volume_24h": "<volume_24h>" }, "token_type": "ERC-20", "total": { "token_id": "<token_id>", "token_instance": { "animation_url": "https://example.com", "external_app_url": "https://example.com", "id": "<id>", "image_url": "https://example.com", "is_unique": false, "media_type": "image/png", "media_url": "https://example.com", "metadata": { "description": "Test", "image": "https://example.com/image.png", "name": "Test" }, "owner": { "ens_domain_name": "<ens_domain_name>", "hash": "<hash>", "implementations": [ { "address_hash": "<address_hash>", "name": "<name>" } ], "is_contract": false, "is_scam": false, "is_verified": false, "metadata": { "tags": [ { "meta": {}, "name": "<name>", "ordinal": 0, "slug": "<slug>", "tagType": "<tagType>" } ] }, "name": "<name>", "proxy_type": "eip1167", "reputation": "ok" }, "thumbnails": { "original": "<original>" }, "token": { "address_hash": "<address_hash>", "circulating_market_cap": "<circulating_market_cap>", "circulating_supply": "<circulating_supply>", "decimals": "<decimals>", "exchange_rate": "<exchange_rate>", "holders_count": "<holders_count>", "icon_url": "https://example.com", "name": "<name>", "reputation": "ok", "symbol": "<symbol>", "total_supply": "<total_supply>", "type": "ERC-20", "volume_24h": "<volume_24h>" } } }, "transaction_hash": "<transaction_hash>", "type": "token_burning" } ], "token_transfers_overflow": false, "transaction_burnt_fee": "<transaction_burnt_fee>", "transaction_tag": "personal", "transaction_types": [ "coin_transfer" ], "type": 0, "value": "<value>" } ], "next_page_params": { "block_number": 14127868, "index": 0 } }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Blockscout — List L2 transactions in a Scroll batch with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.