SolanaSameChainConfig
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / SolanaSameChainConfig
Interface: SolanaSameChainConfig
Section titled “Interface: SolanaSameChainConfig”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19481
Solana-specific executor configuration
Properties
Section titled “Properties”connection
Section titled “connection”connection:
Connection
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19483
Solana RPC connection
sender
Section titled “sender”sender:
PublicKey
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19485
Sender’s public key
getTokenAccount
Section titled “getTokenAccount”getTokenAccount: (
mint) =>Promise<PublicKey>
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19487
Sender’s token account getter
Parameters
Section titled “Parameters”PublicKey
Returns
Section titled “Returns”Promise<PublicKey>
signTransaction
Section titled “signTransaction”signTransaction: <
T>(tx) =>Promise<T>
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19489
Transaction signer
Type Parameters
Section titled “Type Parameters”T extends Transaction | VersionedTransaction
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”Promise<T>
getTokenMint
Section titled “getTokenMint”getTokenMint: (
symbol) =>PublicKey
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:19491
Token mint resolver (symbol -> PublicKey)
Parameters
Section titled “Parameters”symbol
Section titled “symbol”string
Returns
Section titled “Returns”PublicKey