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
owner
string
default:0xCE1A77F0abff993d6d3D04d44b70831c6924fb40
required

The wallet address that owns the Product Account.

Example:

"0xCE1A77F0abff993d6d3D04d44b70831c6924fb40"

chain
enum<string>
default:arbitrum
required

Blockchain network

Available options:
base,
ethereum,
arbitrum,
hyperevm,
tempo,
bsc,
ethereum_sepolia
Example:

"arbitrum"

eip_712
BatchedSafeOperationsResponse · object
required

Response containing EIP-712 typed data for Safe transaction signing.

Example:
signature
string
default:0x160d2709ae195f591daa33ad6ab1fb18b8762a39d8c4466c4cbe95cf6881fc3d54d469710ef0e7fd64ecff47c1ba5741d7254903bfaebdacea5aa8289f81ba9a1c
required

The EIP-712 signed typed data signature.

Example:

"0x160d2709ae195f591daa33ad6ab1fb18b8762a39d8c4466c4cbe95cf6881fc3d54d469710ef0e7fd64ecff47c1ba5741d7254903bfaebdacea5aa8289f81ba9a1c"

sender
string
default:0x02122Ac49b0Be2e0eAD957F2D080805A0127Aa9d
required

The address of the wallet which will send the transaction.

Example:

"0x02122Ac49b0Be2e0eAD957F2D080805A0127Aa9d"

product
enum<string>
default:earn

Which product the gas sponsorship is for. Determines which Product Account (Safe) address to use.

Available options:
earn,
credit,
tokenized_assets

Response

Successful Response

transaction
UnsignedTransaction · object
required

Transaction to be signed & submitted via the sender to the network.

Example: