POST
/
v0
/
transaction_bundler
/
authorization
Typescript (SDK)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await compassApiSDK.transactionBundler.bundlerAuthorization({
    chain: "ethereum:mainnet",
    sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
  });

  console.log(result);
}

run();
{
  "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.

Only needs to be done once per an EOA.

Response

200
application/json

Successful Response

Response model for multicall authorization.