ExtensionOptionsWeb3Tx is an extension option that specifies the typed chain id, the fee payer as well as its signature data.

from message solana.ExtensionOptionsWeb3TxSolana

Hierarchy

Constructors

Properties

chain: string = ""

chain should be "Solana"

from field: string chain = 4;

feePayer: string = ""

fee_payer is an account address for the fee payer. It will be validated during EIP712 signature checking.

from field: string fee_payer = 2;

feePayerSig: Uint8Array = ...

fee_payer_sig is a signature data from the fee paying account, allows to perform fee delegation when using EIP712 Domain.

from field: bytes fee_payer_sig = 3;

solAddress: string = ""

sol_address is the address of the solana account. Used for indexing purposes because we can't natively go from a cosmos address (what is used on-chain) to a solana address without knowing the solana address in the first place. This is because conversion to cosmos requires a hash of the solana address.

from field: string sol_address = 5;

typedDataChainId: bigint = protoInt64.zero

typed_data_chain_id is used only in EIP712 Domain and should match Ethereum network ID in a Web3 provider (e.g. Metamask).

from field: uint64 typed_data_chain_id = 1;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "solana.ExtensionOptionsWeb3TxSolana" = "solana.ExtensionOptionsWeb3TxSolana"

Methods