Skip to main content
POST
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Body

application/json

Request model for getting a multicall authorization.

This model is used to authorize a sender address to perform multicall operations, allowing it to call multiple functions on multiple contracts in a single transaction.

chain
enum<string>
default:arbitrum
required
Available options:
arbitrum,
base,
ethereum
Example:

"arbitrum"

sender
string
default:0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B
required

The Ethereum address to use for authorization

Example:

"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"

Response

Successful Response

Response model for multicall authorization.

nonce
integer
required

A unique nonce value for this authorization

Example:

12345

address
string
required

The Ethereum address authorized for multicall

chainId
integer
required

The chain ID for the blockchain network

Example:

1