Package-level declarations

Types

Link copied to clipboard
data class AuthorizationDetail(val contractAddress: String, val chainId: String, val nonce: String)

Authorization detail containing contract address, chain, and nonce.

Link copied to clipboard
data class AuthorizationListItem(val address: String, val chainId: String, val nonce: String, val r: String, val s: String, val yParity: String)

An item in the authorization list with signature components.

Link copied to clipboard
data class AuthorizationSignature(val r: String, val s: String, val yParity: String)

Signature components for the authorization.

Link copied to clipboard
data class BuildAuthorizationListData(val hash: String)

Data containing the authorization hash.

Link copied to clipboard
data class BuildAuthorizationListMetadata(val authorization: AuthorizationDetail, val chainId: String)

Metadata for the build-authorization-list response.

Link copied to clipboard
data class BuildAuthorizationListRequest(val subsidize: Boolean? = null)

Request body for the POST build-authorization-list endpoint.

Link copied to clipboard

Response model for the POST build-authorization-list endpoint.

Link copied to clipboard
data class BuildAuthorizationTransactionData(val transaction: Eip7702Transaction, val transactionHash: String? = null)

Data for the authorization transaction response.

Link copied to clipboard
data class BuildAuthorizationTransactionMetadata(val authorization: AuthorizationDetail, val chainId: String, val hash: String? = null, val signature: AuthorizationSignature? = null, val subsidize: Boolean? = null)

Metadata for the authorization transaction response.

Link copied to clipboard
data class BuildAuthorizationTransactionRequest(val signature: String, val subsidize: Boolean? = null)

Request body for the POST build-authorization-transaction endpoint.

Link copied to clipboard

Response model for the POST build-authorization-transaction endpoint.

Link copied to clipboard
data class Eip7702Transaction(val type: String? = null, val from: String, val to: String, val value: String? = null, val data: String? = null, val nonce: String? = null, val chainId: String? = null, val authorizationList: List<AuthorizationListItem>? = null, val gasLimit: String? = null, val maxFeePerGas: String? = null, val maxPriorityFeePerGas: String? = null)

EIP-7702 transaction structure.

Link copied to clipboard
data class EvmAccountTypeAddresses(val eoaAddress: String, val smartContractAddress: String? = null)

Holds the EOA and smart contract addresses for an EVM account.

Link copied to clipboard
data class EvmAccountTypeData(val status: String)

Account type data.

Link copied to clipboard
data class EvmAccountTypeMetadata(val chainId: String, val eoaAddress: String, val smartContractAddress: String? = null)

Metadata for the account type response.

Link copied to clipboard

Response model for the GET account-type endpoint.