Skip to main content
GET
Get transactions

Authorizations

x-api-key
string
header
required

API key for authentication. Get your key at https://voyager.online/plans

Query Parameters

p
integer
default:1

Page number. Defaults to 1.

ps
integer
default:25

Number of items per page. Available options: 10, 25, 50, 100.

to
string

Filter transactions sent to a specific contract address.

Pattern: ^(0x[0-9a-fA-F]{1,66})$
block
string
default:""

Filter by block. Accepts a block number, a block hash (0x-prefixed hex string), or "pre_confirmed" for pending transactions.

type
enum<string>

Filter by transaction type: DEPLOY (0), INVOKE (1), DECLARE (2), L1_HANDLER (3), DEPLOY_ACCOUNT (4).

Available options:
0,
1,
2,
3,
4,
null
rejected
enum<string>

When "true", returns only rejected transactions. Ignored when block is set (rejected transactions are not associated with any block). Can be combined with the "to" filter. Defaults to false.

Available options:
true,
false

Response

Successfully retrieved transactions

items
object[]
required
lastPage
number
required