Skip to main content
POST
/
v1
/
transaction_bundler
/
authorization
Python (SDK)
from compass_api_sdk import CompassAPI, models


with CompassAPI(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:

    res = compass_api.transaction_bundler.transaction_bundler_authorization(chain=models.MulticallAuthorizationRequestChain.ARBITRUM, sender="0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")

    # Handle response
    print(res)
{
  "nonce": 12345,
  "address": "<string>",
  "chainId": 1
}

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>
required
Available options:
arbitrum,
base,
ethereum
sender
string
required

The Ethereum address to use for authorization

Examples:

"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"

Response

Successful Response

Response model for multicall authorization.

nonce
integer
required

A unique nonce value for this authorization

Examples:

12345

address
string
required

The Ethereum address authorized for multicall

chainId
integer
required

The chain ID for the blockchain network

Examples:

1