DelegationTransaction

A single transaction to be signed and broadcast by a delegation submit flow.

Delegation endpoints return either EVM transaction objects or base64-encoded Solana transaction strings. This sealed class models both shapes in a type-safe way (avoiding Any).

Inheritors

Types

Link copied to clipboard
data class Evm(val transaction: ConstructedEipTransaction) : DelegationTransaction

An EVM transaction, signed and sent via eth_sendTransaction.

Link copied to clipboard
data class Solana(val encodedTransaction: String) : DelegationTransaction

A base64-encoded Solana transaction, signed and sent via sol_signAndSendTransaction.