ApproveDelegationRequest

data class ApproveDelegationRequest(val chain: String, val token: String, val delegateAddress: String, val amount: String)

Request model for approving a delegation.

The chain and token fields are used as URL path parameters, while delegateAddress and amount are sent in the POST body.

Parameters

chain

CAIP-2 chain ID (e.g., "eip155:11155111" or "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1").

token

Token symbol or address (e.g., "USDC" or a contract address).

delegateAddress

The address to delegate to.

amount

The amount to delegate (e.g., "1.0").

Constructors

Link copied to clipboard
constructor(chain: String, token: String, delegateAddress: String, amount: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard