Skip to main content
GET
Get token approvals granted by an account
  • type selects the standard: erc20 (allowances, default), erc721, or erc1155.
  • For type=erc721, scope selects per-NFT approvals (token, default) or collection-wide ApprovalForAll approvals (operator). erc1155 approvals are always operator approvals.
  • Allowances are the amounts approved on-chain, not the live remaining allowance.
  • summary covers all of the account’s approvals for the selected standard, not only the returned page.
  • Pages hold 25 items. Request the next page while hasMore is true.

Authorizations

x-api-key
string
header
required

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

Path Parameters

contractAddress
string
required

Starknet contract address (0x-prefixed hex).

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

Query Parameters

page
integer
default:1

Page number. Defaults to 1.

pageSize
enum<integer>
default:25

Number of items per page. Only 25 is supported.

Available options:
25
type
enum<string>
default:erc20

Token standard: erc20 | erc721 | erc1155. Defaults to erc20.

Available options:
erc20,
erc721,
erc1155
scope
enum<string>
default:token

For type=erc721 only: 'token' (per-NFT approvals, default) or 'operator' (ApprovalForAll approvals). Ignored for erc20 (always allowances) and erc1155 (always operator).

Available options:
token,
operator

Response

Successfully retrieved approvals

items
object[]
required
hasMore
boolean
required
summary
object
required