Expand description
Types used as operation parameters and responses.
Modules§
- builder
- Types for composing complex structures.
- defaults
- Generation of default values for serde.
- error
- Error types.
Structs§
- Abi
- Contract ABI Specification following Solidity’s external JSON interface format.
- AbiFunction
- ABI function type for contract functions.
- AbiInput
- Generic ABI item type encapsulating all other types besides
function
. - AbiParameter
- Parameter definition for ABI functions, errors, and constructors.
- Account
Token Addresses Response - Response containing token addresses that an account has received.
- Account
Token Addresses Response Token Addresses Item - Token contract address.
- Authentication
Methods - The list of valid authentication methods linked to the end user.
- Common
Swap Response CommonSwapResponse
- Common
Swap Response Block Number - The block number at which the liquidity conditions were examined.
- Common
Swap Response Fees - The estimated fees for the swap.
- Common
Swap Response From Amount - The amount of the
fromToken
that will be sent in this swap, in atomic units of thefromToken
. For example,1000000000000000000
when sending ETH equates to 1 ETH,1000000
when sending USDC equates to 1 USDC, etc. - Common
Swap Response From Token - The 0x-prefixed contract address of the token that will be sent.
- Common
Swap Response Issues - An object containing potential issues discovered during validation that could prevent the swap from being executed successfully.
- Common
Swap Response Issues Allowance - Details of the allowances that the taker must set in order to execute the swap successfully. Null if no allowance is required.
- Common
Swap Response Issues Allowance Current Allowance - The current allowance of the
fromToken
by thetaker
. - Common
Swap Response Issues Allowance Spender - The 0x-prefixed address of to set the allowance on.
- Common
Swap Response Issues Balance - Details of the balance of the
fromToken
that thetaker
must hold. Null if thetaker
has a sufficient balance. - Common
Swap Response Issues Balance Current Balance - The current balance of the
fromToken
by thetaker
. - Common
Swap Response Issues Balance Required Balance - The amount of the token that the
taker
must hold. - Common
Swap Response Issues Balance Token - The 0x-prefixed contract address of the token.
- Common
Swap Response MinTo Amount - The minimum amount of the
toToken
that must be received for the swap to succeed, in atomic units of thetoToken
. For example,1000000000000000000
when receiving ETH equates to 1 ETH,1000000
when receiving USDC equates to 1 USDC, etc. This value is influenced by theslippageBps
parameter. - Common
Swap Response ToAmount - The amount of the
toToken
that will be received in atomic units of thetoToken
. For example,1000000000000000000
when receiving ETH equates to 1 ETH,1000000
when receiving USDC equates to 1 USDC, etc. - Common
Swap Response ToToken - The 0x-prefixed contract address of the token that will be received.
- Create
EvmAccount Body CreateEvmAccountBody
- Create
EvmAccount Body Account Policy - The ID of the account-level policy to apply to the account.
- Create
EvmAccount Body Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM accounts in the developer’s CDP Project.
- Create
EvmAccountX Idempotency Key CreateEvmAccountXIdempotencyKey
- Create
EvmSmart Account Body CreateEvmSmartAccountBody
- Create
EvmSmart Account Body Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM accounts in the developer’s CDP Project.
- Create
EvmSmart Account Body Owners Item CreateEvmSmartAccountBodyOwnersItem
- Create
EvmSmart AccountX Idempotency Key CreateEvmSmartAccountXIdempotencyKey
- Create
EvmSwap Quote Body CreateEvmSwapQuoteBody
- Create
EvmSwap Quote Body From Amount - The amount of the
fromToken
to send in atomic units of the token. For example,1000000000000000000
when sending ETH equates to 1 ETH,1000000
when sending USDC equates to 1 USDC, etc. - Create
EvmSwap Quote Body From Token - The 0x-prefixed contract address of the token to send.
- Create
EvmSwap Quote Body GasPrice - The target gas price for the swap transaction, in Wei. For EIP-1559 transactions, this value should be seen as the
maxFeePerGas
value. If not provided, the API will use an estimate based on the current network conditions. - Create
EvmSwap Quote Body Signer Address - The 0x-prefixed Externally Owned Account (EOA) address that will sign the
Permit2
EIP-712 permit message. This is only needed iftaker
is a smart contract. - Create
EvmSwap Quote Body Taker - The 0x-prefixed address that holds the
fromToken
balance and has thePermit2
allowance set for the swap. - Create
EvmSwap Quote Body ToToken - The 0x-prefixed contract address of the token to receive.
- Create
EvmSwap QuoteX Idempotency Key CreateEvmSwapQuoteXIdempotencyKey
- Create
Onramp Order Body CreateOnrampOrderBody
- Create
Onramp Order Response CreateOnrampOrderResponse
- Create
Payment Transfer Quote Body CreatePaymentTransferQuoteBody
- Create
Payment Transfer Quote Response CreatePaymentTransferQuoteResponse
- Create
Policy Body CreatePolicyBody
- Create
Policy Body Description - An optional human-readable description for the policy. Policy descriptions can consist of alphanumeric characters, spaces, commas, and periods, and be 50 characters or less.
- Create
PolicyX Idempotency Key CreatePolicyXIdempotencyKey
- Create
Solana Account Body CreateSolanaAccountBody
- Create
Solana Account Body Account Policy - The ID of the account-level policy to apply to the account.
- Create
Solana Account Body Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all Solana accounts in the developer’s CDP Project.
- Create
Solana AccountX Idempotency Key CreateSolanaAccountXIdempotencyKey
- Create
Spend Permission Address CreateSpendPermissionAddress
- Create
Spend Permission Request CreateSpendPermissionRequest
- Create
Spend Permission Request Spender - Entity that can spend account’s tokens. Can be either a Smart Account or an EOA.
- Create
Spend Permission Request Token - ERC-7528 native token address (e.g. “0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE” for native ETH), or an ERC-20 contract address.
- Create
Spend PermissionX Idempotency Key CreateSpendPermissionXIdempotencyKey
- Create
Swap Quote Response CreateSwapQuoteResponse
- Create
Swap Quote Response Block Number - The block number at which the liquidity conditions were examined.
- Create
Swap Quote Response Fees - The estimated fees for the swap.
- Create
Swap Quote Response From Amount - The amount of the
fromToken
that will be sent in this swap, in atomic units of thefromToken
. For example,1000000000000000000
when sending ETH equates to 1 ETH,1000000
when sending USDC equates to 1 USDC, etc. - Create
Swap Quote Response From Token - The 0x-prefixed contract address of the token that will be sent.
- Create
Swap Quote Response Issues - An object containing potential issues discovered during validation that could prevent the swap from being executed successfully.
- Create
Swap Quote Response Issues Allowance - Details of the allowances that the taker must set in order to execute the swap successfully. Null if no allowance is required.
- Create
Swap Quote Response Issues Allowance Current Allowance - The current allowance of the
fromToken
by thetaker
. - Create
Swap Quote Response Issues Allowance Spender - The 0x-prefixed address of to set the allowance on.
- Create
Swap Quote Response Issues Balance - Details of the balance of the
fromToken
that thetaker
must hold. Null if thetaker
has a sufficient balance. - Create
Swap Quote Response Issues Balance Current Balance - The current balance of the
fromToken
by thetaker
. - Create
Swap Quote Response Issues Balance Required Balance - The amount of the token that the
taker
must hold. - Create
Swap Quote Response Issues Balance Token - The 0x-prefixed contract address of the token.
- Create
Swap Quote Response MinTo Amount - The minimum amount of the
toToken
that must be received for the swap to succeed, in atomic units of thetoToken
. For example,1000000000000000000
when receiving ETH equates to 1 ETH,1000000
when receiving USDC equates to 1 USDC, etc. This value is influenced by theslippageBps
parameter. - Create
Swap Quote Response Permit2 - The approval object which contains the necessary fields to submit an approval for this transaction. Null if the
fromToken
is the native token or the transaction is a native token wrap / unwrap. - Create
Swap Quote Response Permit2 Hash - The hash for the approval according to EIP-712. Computing the hash of the
eip712
field should match the value of this field. - Create
Swap Quote Response ToAmount - The amount of the
toToken
that will be received in atomic units of thetoToken
. For example,1000000000000000000
when receiving ETH equates to 1 ETH,1000000
when receiving USDC equates to 1 USDC, etc. - Create
Swap Quote Response ToToken - The 0x-prefixed contract address of the token that will be received.
- Create
Swap Quote Response Transaction - The details of the transaction to be signed and submitted to execute the swap.
- Create
Swap Quote Response Transaction Gas - The estimated gas limit that should be used to send the transaction to guarantee settlement.
- Create
Swap Quote Response Transaction GasPrice - The gas price, in Wei, that should be used to send the transaction. For EIP-1559 transactions, this value should be seen as the
maxFeePerGas
value. The transaction should be sent with this gas price to guarantee settlement. - Create
Swap Quote Response Transaction To - The 0x-prefixed address of the contract to call.
- Create
Swap Quote Response Transaction Value - The value of the transaction in Wei.
- Crypto
Rail - The crypto rails available.
- Crypto
Rail Address - The crypto rail input object which specifies the symbol, network, and address which is the source or destination wallet address.
- Crypto
Rail Networks Item - The networks of the asset.
- Delete
Policy Policy Id DeletePolicyPolicyId
- Delete
PolicyX Idempotency Key DeletePolicyXIdempotencyKey
- Developer
JwtAuthentication - Information about an end user who authenticates using a JWT issued by the developer.
- Eip712
Domain - The domain of the EIP-712 typed data.
- Eip712
Domain Salt - The optional 32-byte 0x-prefixed hex salt for domain separation.
- Eip712
Domain Verifying Contract - The 0x-prefixed EVM address of the verifying smart contract.
- Eip712
Message - The message to sign using EIP-712.
- Eip712
Types - A mapping of struct names to an array of type objects (name + type).
Each key corresponds to a type name (e.g., “
EIP712Domain
”, “PermitTransferFrom
”). - Email
Authentication - Information about an end user who authenticates using a one-time password sent to their email address.
- EndUser
- Information about the end user.
- EndUser
EvmAccounts Item - The address of the EVM account associated with the end user.
- EndUser
EvmSmart Accounts Item - The address of the EVM smart account associated with the end user.
- EndUser
Solana Accounts Item - The base58 encoded address of the Solana account associated with the end user.
- EndUser
User Id - A stable, unique identifier for the end user. The
userId
must be unique across all end users in the developer’s CDP Project. It must be between 1 and 100 characters long and can only contain alphanumeric characters and hyphens. - Error
- An error response including the code for the type of error and a human-readable message describing the error.
- EthValue
Criterion - A schema for specifying a criterion for the
value
field of an EVM transaction. - EthValue
Criterion EthValue - The amount of ETH, in wei, that the transaction’s
value
field should be compared to. - EvmAccount
EvmAccount
- EvmAccount
Address - The 0x-prefixed, checksum EVM address.
- EvmAccount
Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names are guaranteed to be unique across all EVM accounts in the developer’s CDP Project.
- EvmAccount
Policies Item EvmAccountPoliciesItem
- EvmAddress
Criterion - A schema for specifying a criterion for the
to
field of an EVM transaction. - EvmAddress
Criterion Addresses Item - The 0x-prefixed EVM address that the transaction’s
to
field should be compared to. - EvmCall
EvmCall
- EvmCall
Data - The call data to send. This is the hex-encoded data of the function call consisting of the method selector and the function arguments.
- EvmCall
To - The address the call is directed to.
- EvmData
Condition - A single condition to apply against the function and encoded arguments in the transaction’s
data
field. Eachparameter
configuration must be successfully evaluated against the corresponding function argument in order for a policy to be accepted. - EvmData
Criterion - A schema for specifying a criterion for the
data
field of an EVM transaction. - EvmData
Parameter Condition EvmDataParameterCondition
- EvmData
Parameter Condition List EvmDataParameterConditionList
- EvmMessage
Criterion - A schema for specifying a criterion for the message being signed.
- EvmNetwork
Criterion - A schema for specifying a criterion for the intended
network
of an EVM transaction. - EvmSmart
Account EvmSmartAccount
- EvmSmart
Account Address - The 0x-prefixed, checksum address of the Smart Account.
- EvmSmart
Account Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names are guaranteed to be unique across all Smart Accounts in the developer’s CDP Project.
- EvmSmart
Account Owners Item EvmSmartAccountOwnersItem
- EvmSmart
Account Policies Item EvmSmartAccountPoliciesItem
- EvmTyped
Address Condition - A schema for specifying criterion for an address field of an EVM typed message. The address can be deeply nested within the typed data’s message.
- EvmTyped
Address Condition Addresses Item - The 0x-prefixed EVM address that the value located at the message’s path should be compared to.
- EvmTyped
Numerical Condition - A schema for specifying criterion for a numerical field of an EVM typed message. The value can be deeply nested within the typed data’s message.
- EvmTyped
Numerical Condition Value - The amount that the value located at the message’s path should be compared to.
- EvmTyped
String Condition - A schema for specifying criterion for a string field of an EVM typed message. The value can be deeply nested within the typed data’s message.
- EvmUser
Operation EvmUserOperation
- EvmUser
Operation Transaction Hash - The hash of the transaction that included this particular user operation. This gets set after the user operation is broadcasted and the transaction is included in a block.
- EvmUser
Operation User OpHash - The hash of the user operation. This is not the transaction hash, as a transaction consists of multiple user operations. The user operation hash is the hash of this particular user operation which gets signed by the owner of the Smart Account.
- Execute
Payment Transfer Quote Transfer Id ExecutePaymentTransferQuoteTransferId
- Export
EvmAccount Address ExportEvmAccountAddress
- Export
EvmAccount Body ExportEvmAccountBody
- Export
EvmAccount ByName Body ExportEvmAccountByNameBody
- Export
EvmAccount ByName Response ExportEvmAccountByNameResponse
- Export
EvmAccount ByNameX Idempotency Key ExportEvmAccountByNameXIdempotencyKey
- Export
EvmAccount Response ExportEvmAccountResponse
- Export
EvmAccountX Idempotency Key ExportEvmAccountXIdempotencyKey
- Export
Solana Account Address ExportSolanaAccountAddress
- Export
Solana Account Body ExportSolanaAccountBody
- Export
Solana Account ByName Body ExportSolanaAccountByNameBody
- Export
Solana Account ByName Response ExportSolanaAccountByNameResponse
- Export
Solana Account ByNameX Idempotency Key ExportSolanaAccountByNameXIdempotencyKey
- Export
Solana Account Response ExportSolanaAccountResponse
- Export
Solana AccountX Idempotency Key ExportSolanaAccountXIdempotencyKey
- Fee
- The fee for the transfer.
- From
Amount - The amount of the
fromToken
to send in atomic units of the token. For example,1000000000000000000
when sending ETH equates to 1 ETH,1000000
when sending USDC equates to 1 USDC, etc. - From
Token - The 0x-prefixed contract address of the token to send.
- GasPrice
- The target gas price for the swap transaction, in Wei. For EIP-1559 transactions, this value should be seen as the
maxFeePerGas
value. If not provided, the API will use an estimate based on the current network conditions. - GetEvm
Account Address GetEvmAccountAddress
- GetEvm
Smart Account Address GetEvmSmartAccountAddress
- GetOnramp
Order ById Response GetOnrampOrderByIdResponse
- GetPayment
Transfer Transfer Id GetPaymentTransferTransferId
- GetPolicy
ById Policy Id GetPolicyByIdPolicyId
- GetSolana
Account Address GetSolanaAccountAddress
- GetSwap
Price Response GetSwapPriceResponse
- GetSwap
Price Response Block Number - The block number at which the liquidity conditions were examined.
- GetSwap
Price Response Fees - The estimated fees for the swap.
- GetSwap
Price Response From Amount - The amount of the
fromToken
that will be sent in this swap, in atomic units of thefromToken
. For example,1000000000000000000
when sending ETH equates to 1 ETH,1000000
when sending USDC equates to 1 USDC, etc. - GetSwap
Price Response From Token - The 0x-prefixed contract address of the token that will be sent.
- GetSwap
Price Response Gas - The estimated gas limit that should be used to send the transaction to guarantee settlement.
- GetSwap
Price Response GasPrice - The gas price, in Wei, that should be used to send the transaction. For EIP-1559 transactions, this value should be seen as the
maxFeePerGas
value. The transaction should be sent with this gas price to guarantee settlement. - GetSwap
Price Response Issues - An object containing potential issues discovered during validation that could prevent the swap from being executed successfully.
- GetSwap
Price Response Issues Allowance - Details of the allowances that the taker must set in order to execute the swap successfully. Null if no allowance is required.
- GetSwap
Price Response Issues Allowance Current Allowance - The current allowance of the
fromToken
by thetaker
. - GetSwap
Price Response Issues Allowance Spender - The 0x-prefixed address of to set the allowance on.
- GetSwap
Price Response Issues Balance - Details of the balance of the
fromToken
that thetaker
must hold. Null if thetaker
has a sufficient balance. - GetSwap
Price Response Issues Balance Current Balance - The current balance of the
fromToken
by thetaker
. - GetSwap
Price Response Issues Balance Required Balance - The amount of the token that the
taker
must hold. - GetSwap
Price Response Issues Balance Token - The 0x-prefixed contract address of the token.
- GetSwap
Price Response MinTo Amount - The minimum amount of the
toToken
that must be received for the swap to succeed, in atomic units of thetoToken
. For example,1000000000000000000
when receiving ETH equates to 1 ETH,1000000
when receiving USDC equates to 1 USDC, etc. This value is influenced by theslippageBps
parameter. - GetSwap
Price Response ToAmount - The amount of the
toToken
that will be received in atomic units of thetoToken
. For example,1000000000000000000
when receiving ETH equates to 1 ETH,1000000
when receiving USDC equates to 1 USDC, etc. - GetSwap
Price Response ToToken - The 0x-prefixed contract address of the token that will be received.
- GetUser
Operation Address GetUserOperationAddress
- GetUser
Operation User OpHash GetUserOperationUserOpHash
- Idl
- IDL Specification following Anchor’s IDL format v0.30+.
- IdlInstructions
Item IdlInstructionsItem
- IdlInstructions
Item Accounts Item IdlInstructionsItemAccountsItem
- IdlInstructions
Item Args Item IdlInstructionsItemArgsItem
- IdlMetadata
- Optional metadata about the IDL.
- Import
EvmAccount Body ImportEvmAccountBody
- Import
EvmAccount Body Account Policy - The ID of the account-level policy to apply to the account.
- Import
EvmAccount Body Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM accounts in the developer’s CDP Project.
- Import
EvmAccountX Idempotency Key ImportEvmAccountXIdempotencyKey
- Import
Solana Account Body ImportSolanaAccountBody
- Import
Solana Account Body Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM accounts in the developer’s CDP Project.
- Import
Solana AccountX Idempotency Key ImportSolanaAccountXIdempotencyKey
- List
Data Token Balances Address ListDataTokenBalancesAddress
- List
Data Token Balances Response ListDataTokenBalancesResponse
- List
EvmAccounts Response ListEvmAccountsResponse
- List
EvmSmart Accounts Response ListEvmSmartAccountsResponse
- List
EvmToken Balances Address ListEvmTokenBalancesAddress
- List
EvmToken Balances Response ListEvmTokenBalancesResponse
- List
Policies Response ListPoliciesResponse
- List
Response ListResponse
- List
Solana Accounts Response ListSolanaAccountsResponse
- List
Solana Token Balances Address ListSolanaTokenBalancesAddress
- List
Solana Token Balances Response ListSolanaTokenBalancesResponse
- List
Spend Permissions Address ListSpendPermissionsAddress
- List
Spend Permissions Response ListSpendPermissionsResponse
- List
Tokens ForAccount Address ListTokensForAccountAddress
- Mint
Address Criterion - The criterion for the token mint addresses of a Solana transaction’s SPL token transfer instructions.
- Mint
Address Criterion Addresses Item - The Solana address that is compared to the list of token mint addresses in the transaction’s
accountKeys
(for legacy transactions) orstaticAccountKeys
(for V0 transactions) array. - NetUsd
Change Criterion - A schema for specifying a criterion for the USD denominated asset transfer or exposure for a transaction. This includes native transfers, as well as token transfers.
- Onchain
Data Query - Request to execute a SQL query against indexed blockchain data.
- Onchain
Data Query Sql - SQL query to execute against the indexed blockchain data.
- Onchain
Data Result - Result of executing a SQL query.
- Onchain
Data Result Metadata - Metadata about query execution.
- Onchain
Data Result Schema - Schema information for the query result. This is a derived schema from the query result, so types may not match the underlying table.
- Onchain
Data Result Schema Columns Item OnchainDataResultSchemaColumnsItem
- Onramp
Order - An Onramp order.
- Onramp
Order Fee - A fee associated with an order.
- Onramp
Payment Link - A payment link to pay for an order.
- Payment
Method - The fiat payment method object.
- Payment
Method Id - The ID of the payment method which previously was added.
- Payment
Method Limits - The limits of the payment method.
- Payment
Method Limits Source Limit - The limit for this payment method being used as a source for transfers.
- Payment
Method Limits Target Limit - The limit for this payment method being used as a target for transfers.
- Payment
Method Request - The fiat payment method request object.
- Payment
Method Request Id - The ID of the payment method.
- Policy
Policy
- Policy
Description - An optional human-readable description of the policy. Policy descriptions can consist of alphanumeric characters, spaces, commas, and periods, and be 50 characters or less.
- Policy
Id - The unique identifier for the policy.
- Prepare
User Operation Address PrepareUserOperationAddress
- Prepare
User Operation Body PrepareUserOperationBody
- Prepare
User Operation Criteria - A schema for specifying criteria for the PrepareUserOperation operation.
- Prepare
User Operation Rule PrepareUserOperationRule
- Request
EvmFaucet Body RequestEvmFaucetBody
- Request
EvmFaucet Body Address - The address to request funds to, which is a 0x-prefixed hexadecimal string.
- Request
EvmFaucet Response RequestEvmFaucetResponse
- Request
Solana Faucet Body RequestSolanaFaucetBody
- Request
Solana Faucet Body Address - The address to request funds to, which is a base58-encoded string.
- Request
Solana Faucet Response RequestSolanaFaucetResponse
- Revoke
Spend Permission Address RevokeSpendPermissionAddress
- Revoke
Spend Permission Request RevokeSpendPermissionRequest
- Revoke
Spend PermissionX Idempotency Key RevokeSpendPermissionXIdempotencyKey
- Send
EvmTransaction Address SendEvmTransactionAddress
- Send
EvmTransaction Body SendEvmTransactionBody
- Send
EvmTransaction Criteria - A schema for specifying criteria for the SignEvmTransaction operation.
- Send
EvmTransaction Response SendEvmTransactionResponse
- Send
EvmTransaction Rule SendEvmTransactionRule
- Send
EvmTransactionX Idempotency Key SendEvmTransactionXIdempotencyKey
- Send
SolTransaction Criteria - A schema for specifying criteria for the SendSolTransaction operation.
- Send
SolTransaction Rule SendSolTransactionRule
- Send
Solana Transaction Body SendSolanaTransactionBody
- Send
Solana Transaction Response SendSolanaTransactionResponse
- Send
Solana TransactionX Idempotency Key SendSolanaTransactionXIdempotencyKey
- Send
User Operation Address SendUserOperationAddress
- Send
User Operation Body SendUserOperationBody
- Send
User Operation Criteria - A schema for specifying criteria for the SendUserOperation operation.
- Send
User Operation Rule SendUserOperationRule
- Send
User Operation User OpHash SendUserOperationUserOpHash
- Settle
X402 Payment Body SettleX402PaymentBody
- Settle
X402 Payment Response SettleX402PaymentResponse
- Settle
X402 Payment Response Payer - The onchain address of the client that is paying for the resource.
- Settle
X402 Payment Response Transaction - The transaction of the settlement. For EVM networks, the transaction will be a 0x-prefixed, EVM transaction hash. For Solana-based networks, the transaction will be a base58-encoded Solana signature.
- Sign
EvmHash Address SignEvmHashAddress
- Sign
EvmHash Body SignEvmHashBody
- Sign
EvmHash Response SignEvmHashResponse
- Sign
EvmHash Rule SignEvmHashRule
- Sign
EvmHashX Idempotency Key SignEvmHashXIdempotencyKey
- Sign
EvmMessage Address SignEvmMessageAddress
- Sign
EvmMessage Body SignEvmMessageBody
- Sign
EvmMessage Criteria - A schema for specifying the rejection criteria for the SignEvmMessage operation.
- Sign
EvmMessage Response SignEvmMessageResponse
- Sign
EvmMessage Rule SignEvmMessageRule
- Sign
EvmMessageX Idempotency Key SignEvmMessageXIdempotencyKey
- Sign
EvmTransaction Address SignEvmTransactionAddress
- Sign
EvmTransaction Body SignEvmTransactionBody
- Sign
EvmTransaction Criteria - A schema for specifying criteria for the SignEvmTransaction operation.
- Sign
EvmTransaction Response SignEvmTransactionResponse
- Sign
EvmTransaction Rule SignEvmTransactionRule
- Sign
EvmTransactionX Idempotency Key SignEvmTransactionXIdempotencyKey
- Sign
EvmTyped Data Address SignEvmTypedDataAddress
- Sign
EvmTyped Data Criteria - A schema for specifying criteria for the SignEvmTypedData operation.
- Sign
EvmTyped Data Field Criterion SignEvmTypedDataFieldCriterion
- Sign
EvmTyped Data Field Criterion Types - An object containing EIP-712 type definitions, as well as a primary type for the root message object.
- Sign
EvmTyped Data Field Criterion Types Types Value Item SignEvmTypedDataFieldCriterionTypesTypesValueItem
- Sign
EvmTyped Data Response SignEvmTypedDataResponse
- Sign
EvmTyped Data Rule SignEvmTypedDataRule
- Sign
EvmTyped Data Verifying Contract Criterion - A schema for specifying criterion for a domain’s verifying contract.
- Sign
EvmTyped Data Verifying Contract Criterion Addresses Item - The 0x-prefixed EVM address that the domain’s verifying contract should be compared to.
- Sign
EvmTyped DataX Idempotency Key SignEvmTypedDataXIdempotencyKey
- Sign
SolTransaction Criteria - A schema for specifying criteria for the SignSolTransaction operation.
- Sign
SolTransaction Rule SignSolTransactionRule
- Sign
Solana Message Address SignSolanaMessageAddress
- Sign
Solana Message Body SignSolanaMessageBody
- Sign
Solana Message Response SignSolanaMessageResponse
- Sign
Solana MessageX Idempotency Key SignSolanaMessageXIdempotencyKey
- Sign
Solana Transaction Address SignSolanaTransactionAddress
- Sign
Solana Transaction Body SignSolanaTransactionBody
- Sign
Solana Transaction Response SignSolanaTransactionResponse
- Sign
Solana TransactionX Idempotency Key SignSolanaTransactionXIdempotencyKey
- Signer
Address - The 0x-prefixed Externally Owned Account (EOA) address that will sign the
Permit2
EIP-712 permit message. This is only needed iftaker
is a smart contract. - Slippage
Bps - The maximum acceptable slippage of the
toToken
in basis points. If this parameter is set to 0, no slippage will be tolerated. If not provided, the default slippage tolerance is 100 bps (i.e., 1%). - SmsAuthentication
- Information about an end user who authenticates using a one-time password sent to their phone number via SMS.
- SmsAuthentication
Phone Number - The phone number of the end user in E.164 format.
- SolAddress
Criterion - The criterion for the recipient addresses of a Solana transaction’s native transfer instruction.
- SolAddress
Criterion Addresses Item - The Solana address that is compared to the list of native transfer recipient addresses in the transaction’s
accountKeys
(for legacy transactions) orstaticAccountKeys
(for V0 transactions) array. - SolData
Condition - A single condition to apply against a specific instruction type and its parameters.
- SolData
Criterion - A schema for specifying criterion for instruction data in a Solana transaction.
- SolData
Parameter Condition - A single parameter condition to apply against a specific instruction’s parameters.
- SolData
Parameter Condition List - A single parameter condition to apply against a specific instruction’s parameters.
- SolValue
Criterion - The criterion for the SOL value in lamports of a native transfer instruction in a Solana transaction.
- Solana
Account SolanaAccount
- Solana
Account Address - The base58 encoded Solana address.
- Solana
Account Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names are guaranteed to be unique across all Solana accounts in the developer’s CDP Project.
- Solana
Account Policies Item SolanaAccountPoliciesItem
- Solana
Token - General information about a Solana token. Includes the mint address, and other identifying information.
- Solana
Token Amount - Amount of a given Solana token.
- Solana
Token Amount Amount - The amount is denominated in the smallest indivisible unit of the token. For SOL, the smallest indivisible unit is lamports (10^-9 SOL). For SPL tokens, the smallest unit is defined by the token’s decimals configuration.
- Solana
Token Balance SolanaTokenBalance
- Solana
Token Mint Address - The mint address of the token.
For native SOL, the mint address is
So11111111111111111111111111111111111111111
. For SPL tokens, this is the mint address where the token is defined. - Spend
Permission - The core spend permission.
- Spend
Permission Account - Smart account this spend permission is valid for.
- Spend
Permission Response Object SpendPermissionResponseObject
- Spend
Permission Spender - Entity that can spend account’s tokens.
- Spend
Permission Token - Token address (ERC-7528 native token address or ERC-20 contract).
- SplAddress
Criterion - The criterion for the recipient addresses of a Solana transaction’s SPL token transfer instructions.
- SplAddress
Criterion Addresses Item - The Solana address that is compared to the list of SPL token transfer recipient addresses in the transaction’s
accountKeys
(for legacy transactions) orstaticAccountKeys
(for V0 transactions) array. - SplValue
Criterion - The criterion for the SPL token value of a SPL token transfer instruction in a Solana transaction.
- Supported
X402 Payment Kinds Response SupportedX402PaymentKindsResponse
- Swap
Unavailable Response SwapUnavailableResponse
- Taker
- The 0x-prefixed address that holds the
fromToken
balance and has thePermit2
allowance set for the swap. - ToToken
- The 0x-prefixed contract address of the token to receive.
- Token
- General information about a token. Includes the type, the network, and other identifying information.
- Token
Amount - Amount of a given token.
- Token
Amount Amount - The amount is denominated in the smallest indivisible unit of the token. For ETH, the smallest indivisible unit is Wei (10^-18 ETH). For ERC-20s, the smallest unit is the unit returned from
function totalSupply() public view returns (uint256)
. - Token
Balance TokenBalance
- Token
Contract Address - The contract address of the token.
For Ether, the contract address is
0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
per EIP-7528. For ERC-20 tokens, this is the contract address where the token is deployed. - Token
Fee TokenFee
- Token
FeeAmount - The estimated amount of the fee in atomic units of the
token
. For example,1000000000000000
if the fee is in ETH equates to 0.001 ETH,10000
if the fee is in USDC equates to 0.01 USDC, etc. - Token
FeeToken - The contract address of the token that the fee is paid in. The address
0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
is used for the native token of the network (e.g. ETH). - Transfer
- The transfer object.
- Transfer
Id - The ID of the transfer.
- Transfer
Source - The source of the transfer.
- Transfer
Target - The target of the transfer.
- Update
EvmAccount Address UpdateEvmAccountAddress
- Update
EvmAccount Body UpdateEvmAccountBody
- Update
EvmAccount Body Account Policy - The ID of the account-level policy to apply to the account, or an empty string to unset attached policy.
- Update
EvmAccount Body Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM accounts in the developer’s CDP Project.
- Update
EvmAccountX Idempotency Key UpdateEvmAccountXIdempotencyKey
- Update
EvmSmart Account Address UpdateEvmSmartAccountAddress
- Update
EvmSmart Account Body UpdateEvmSmartAccountBody
- Update
EvmSmart Account Body Name - An optional name for the smart account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM smart accounts in the developer’s CDP Project.
- Update
Policy Body UpdatePolicyBody
- Update
Policy Body Description - An optional human-readable description for the policy. Policy descriptions can consist of alphanumeric characters, spaces, commas, and periods, and be 50 characters or less.
- Update
Policy Policy Id UpdatePolicyPolicyId
- Update
PolicyX Idempotency Key UpdatePolicyXIdempotencyKey
- Update
Solana Account Address UpdateSolanaAccountAddress
- Update
Solana Account Body UpdateSolanaAccountBody
- Update
Solana Account Body Account Policy - The ID of the account-level policy to apply to the account, or an empty string to unset attached policy.
- Update
Solana Account Body Name - An optional name for the account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all Solana accounts in the developer’s CDP Project.
- Update
Solana AccountX Idempotency Key UpdateSolanaAccountXIdempotencyKey
- User
Operation Receipt - The receipt that contains information about the execution of user operation.
- User
Operation Receipt Block Hash - The block hash of the block including the transaction as 0x-prefixed string.
- User
Operation Receipt Revert - The revert data if the user operation has reverted.
- User
Operation Receipt Revert Data - The 0x-prefixed raw hex string.
- User
Operation Receipt Transaction Hash - The hash of this transaction as 0x-prefixed string.
- Validate
EndUser Access Token Body - The request body for a developer to verify an end user’s access token.
- Verify
X402 Payment Body VerifyX402PaymentBody
- Verify
X402 Payment Response VerifyX402PaymentResponse
- Verify
X402 Payment Response Payer - The onchain address of the client that is paying for the resource.
- X402
Exact EvmPayload - The x402 protocol exact scheme payload for EVM networks. The scheme is implemented using ERC-3009. For more details, please see EVM Exact Scheme Details.
- X402
Exact EvmPayload Authorization - The authorization data for the ERC-3009 authorization message.
- X402
Exact EvmPayload Authorization From - The 0x-prefixed, checksum EVM address of the sender of the payment.
- X402
Exact EvmPayload Authorization To - The 0x-prefixed, checksum EVM address of the recipient of the payment.
- X402
Payment Payload - The x402 protocol payment payload that the client attaches to x402-paid API requests to the resource server in the X-PAYMENT header.
- X402
Payment Requirements - The x402 protocol payment requirements that the resource server expects the client’s payment payload to meet.
- X402
Payment Requirements Asset - The asset to pay with.
- X402
Payment Requirements PayTo - The destination to pay value to.
- X402
Supported Payment Kind - The supported payment kind for the x402 protocol. A kind is comprised of a scheme and a network, which together uniquely identify a way to move money on the x402 protocol. For more details, please see x402 Schemes.
- X402
Version - The version of the x402 protocol.
Enums§
- AbiFunction
Type - The type of the ABI item, must be
function
. - AbiInput
Type - The type of the ABI item.
- AbiItem
AbiItem
- AbiState
Mutability - State mutability of a function in Solidity.
- Authentication
Method - Information about how the end user is authenticated.
- Create
Payment Transfer Quote Body Source Type - The type of the source of the transfer.
- Create
Payment Transfer Quote Body Target Type - The type of the target of the transfer.
- Create
Policy Body Scope - The scope of the policy.
- Create
Swap Quote Response Wrapper - A wrapper for the response of a swap quote operation.
- Developer
JwtAuthentication Type - The type of authentication information.
- Email
Authentication Type - The type of authentication information.
- Error
Type - The code that indicates the type of error that occurred. These error codes can be used to determine how to handle the error.
- EthValue
Criterion Operator - The operator to use for the comparison. The transaction’s
value
field will be on the left-hand side of the operator, and theethValue
field will be on the right-hand side. - EthValue
Criterion Type - The type of criterion to use. This should be
ethValue
. - EvmAddress
Criterion Operator - The operator to use for the comparison. The transaction’s
to
field will be on the left-hand side of the operator, and theaddresses
field will be on the right-hand side. - EvmAddress
Criterion Type - The type of criterion to use. This should be
evmAddress
. - EvmData
Condition Params Item - A list of parameter conditions to apply against encoded arguments in the transaction’s
data
field. - EvmData
Criterion Abi - The ABI of the smart contract being called. This can be a partial structure with only specific functions.
- EvmData
Criterion Type - The type of criterion to use. This should be
evmData
. - EvmData
Parameter Condition List Operator - The operator to use for the comparison. The value resolved at the
name
will be on the left-hand side of the operator, and thevalues
field will be on the right-hand side. - EvmData
Parameter Condition Operator - The operator to use for the comparison. The value resolved at the
name
will be on the left-hand side of the operator, and thevalue
field will be on the right-hand side. - EvmMessage
Criterion Type - The type of criterion to use. This should be
evmMessage
. - EvmNetwork
Criterion Networks Item - The network the transaction is for.
- EvmNetwork
Criterion Operator - The operator to use for the comparison. The transaction’s intended
network
will be on the left-hand side of the operator, and thenetworks
field will be on the right-hand side. - EvmNetwork
Criterion Type - The type of criterion to use. This should be
evmNetwork
. - EvmSwaps
Network - The network on which to perform the swap.
- EvmTyped
Address Condition Operator - The operator to use for the comparison. The value located at the message’s path will be on the left-hand side of the operator, and the
addresses
field will be on the right-hand side. - EvmTyped
Numerical Condition Operator - The operator to use for the comparison. The value located at the message’s path will be on the left-hand side of the operator, and the
value
field will be on the right-hand side. - EvmUser
Operation Network - The network the user operation is for.
- EvmUser
Operation Status - The status of the user operation.
- FeeType
- The type of fee.
- GetSwap
Price Response Wrapper - A wrapper for the response of a swap price operation.
- Known
AbiType - A reference to an established EIP standard. When referencing a
KnownAbiType
within a policy rule configuring anEvmDataCriterion
, criteria will only decode function data officially documented in the standard. For more information on supported token standards, see the links below. - erc20 - Token Standard. - erc721 - Non-Fungible Token Standard. - erc1155 - Multi Token Standard. - Known
IdlType - A reference to an established Solana program. When referencing a
KnownIdlType
within a policy rule configuring anSolDataCriterion
, criteria will decode instruction data as documented in the programs. For more information on supported programs, see the links below. - SystemProgram. - TokenProgram. - AssociatedTokenProgram. - List
EvmToken Balances Network - The name of the supported EVM networks in human-readable format.
- List
Policies Scope ListPoliciesScope
- List
Solana Token Balances Network - The name of the supported Solana networks in human-readable format.
- List
Tokens ForAccount Network ListTokensForAccountNetwork
- Mint
Address Criterion Operator - The operator to use for the comparison. Each of the token mint addresses in the transaction’s
accountKeys
(for legacy transactions) orstaticAccountKeys
(for V0 transactions) array will be on the left-hand side of the operator, and theaddresses
field will be on the right-hand side. - Mint
Address Criterion Type - The type of criterion to use. This should be
mintAddress
. - NetUsd
Change Criterion Operator - The operator to use for the comparison. The total value of a transaction’s asset transfer will be on the left-hand side of the operator, and the
changeCents
field will be on the right-hand side. - NetUsd
Change Criterion Type - The type of criterion to use. This should be
netUSDChange
. - Onchain
Data Result Schema Columns Item Type - Column data type (ClickHouse types).
- Onramp
Order FeeType - The type of fee.
- Onramp
Order Payment Method Type Id - The type of payment method to be used to complete an onramp order.
- Onramp
Order Status - The status of an onramp order.
- Onramp
Payment Link Type - The type of payment link.
- Payment
Method Type - The type of payment method.
- Payment
Rail Action - The action of the payment method.
- Policy
Scope - The scope of the policy. Only one project-level policy can exist at any time.
- Prepare
User Operation Criteria Item PrepareUserOperationCriteriaItem
- Prepare
User Operation Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Prepare
User Operation Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - Request
EvmFaucet Body Network - The network to request funds from.
- Request
EvmFaucet Body Token - The token to request funds for.
- Request
Solana Faucet Body Token - The token to request funds for.
- Rule
- A rule that limits the behavior of an account.
- Send
EvmTransaction Body Network - The network to send the transaction to.
- Send
EvmTransaction Criteria Item SendEvmTransactionCriteriaItem
- Send
EvmTransaction Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Send
EvmTransaction Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - Send
SolTransaction Criteria Item SendSolTransactionCriteriaItem
- Send
SolTransaction Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Send
SolTransaction Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - Send
Solana Transaction Body Network - The Solana network to send the transaction to.
- Send
User Operation Criteria Item SendUserOperationCriteriaItem
- Send
User Operation Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Send
User Operation Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - Sign
EvmHash Rule Action - Whether any attempts to sign a hash will be accepted or rejected. This rule does not accept any criteria.
- Sign
EvmHash Rule Operation - The operation to which the rule applies.
- Sign
EvmMessage Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Sign
EvmMessage Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - Sign
EvmTransaction Criteria Item SignEvmTransactionCriteriaItem
- Sign
EvmTransaction Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Sign
EvmTransaction Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - Sign
EvmTyped Data Criteria Item SignEvmTypedDataCriteriaItem
- Sign
EvmTyped Data Field Criterion Conditions Item SignEvmTypedDataFieldCriterionConditionsItem
- Sign
EvmTyped Data Field Criterion Type - The type of criterion to use. This should be
evmTypedDataField
. - Sign
EvmTyped Data Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Sign
EvmTyped Data Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - Sign
EvmTyped Data Verifying Contract Criterion Operator - The operator to use for the comparison. The domain’s verifying contract will be on the left-hand side of the operator, and the
addresses
field will be on the right-hand side. - Sign
EvmTyped Data Verifying Contract Criterion Type - The type of criterion to use. This should be
evmTypedDataVerifyingContract
. - Sign
SolTransaction Criteria Item SignSolTransactionCriteriaItem
- Sign
SolTransaction Rule Action - Whether matching the rule will cause the request to be rejected or accepted.
- Sign
SolTransaction Rule Operation - The operation to which the rule applies. Every element of the
criteria
array must match the specified operation. - SmsAuthentication
Type - The type of authentication information.
- SolAddress
Criterion Operator - The operator to use for the comparison. Each of the native transfer recipient addresses in the transaction’s
accountKeys
(for legacy transactions) orstaticAccountKeys
(for V0 transactions) array will be on the left-hand side of the operator, and theaddresses
field will be on the right-hand side. - SolAddress
Criterion Type - The type of criterion to use. This should be
solAddress
. - SolData
Condition Params Item - A list of parameter conditions to apply against a specific instruction’s data.
- SolData
Criterion Idls Item SolDataCriterionIdlsItem
- SolData
Criterion Type - The type of criterion to use. This should be
solData
. - SolData
Parameter Condition List Operator - The operator to use for the comparison. The value resolved at the
name
will be on the left-hand side of the operator, and thevalue
field will be on the right-hand side. - SolData
Parameter Condition Operator - The operator to use for the comparison. The value resolved at the
name
will be on the left-hand side of the operator, and thevalue
field will be on the right-hand side. - SolValue
Criterion Operator - The operator to use for the comparison. The transaction instruction’s
value
field will be on the left-hand side of the operator, and thesolValue
field will be on the right-hand side. - SolValue
Criterion Type - The type of criterion to use. This should be
solValue
. - Spend
Permission Network - The network the spend permission is on.
- SplAddress
Criterion Operator - The operator to use for the comparison. Each of the SPL token transfer recipient addresses in the transaction’s
accountKeys
(for legacy transactions) orstaticAccountKeys
(for V0 transactions) array will be on the left-hand side of the operator, and theaddresses
field will be on the right-hand side. - SplAddress
Criterion Type - The type of criterion to use. This should be
splAddress
. - SplValue
Criterion Operator - The operator to use for the comparison. The transaction instruction’s
value
field will be on the left-hand side of the operator, and thesplValue
field will be on the right-hand side. - SplValue
Criterion Type - The type of criterion to use. This should be
splValue
. - Transfer
Source Type - The type of the source of the transfer.
- Transfer
Status - The status of the transfer.
- Transfer
Target Type - The type of the target of the transfer.
- X402
Payment Payload Network - The network of the blockchain to send payment on.
- X402
Payment Payload Scheme - The scheme of the payment protocol to use. Currently, the only supported scheme is
exact
. - X402
Payment Requirements Network - The network of the blockchain to send payment on.
- X402
Payment Requirements Scheme - The scheme of the payment protocol to use. Currently, the only supported scheme is
exact
. - X402
Settle Error Reason - The reason the payment settlement errored on the x402 protocol.
- X402
Supported Payment Kind Network - The network of the blockchain.
- X402
Supported Payment Kind Scheme - The scheme of the payment protocol.
- X402
Verify Invalid Reason - The reason the payment is invalid on the x402 protocol.