getSolanaToolbox
getSolanaToolbox(
toolboxParams?
):Promise
<{broadcastTransaction
: (transaction
) =>Promise
<string
>;createKeysForPath
: (__namedParameters
) =>Promise
<Keypair
>;createTransaction
: (__namedParameters
) =>Promise
<Transaction
>;createTransactionFromInstructions
: (__namedParameters
) =>Promise
<Transaction
>;estimateTransactionFee
: (__namedParameters
) =>Promise
<AssetValue
>;getAddress
: () =>string
;getAddressFromPubKey
: (publicKey
) =>string
;getAddressValidator
: () =>Promise
<(address
) =>boolean
>;getBalance
: (address
,scamFilter
) =>Promise
<AssetValue
[]>;getConnection
: () =>Promise
<Connection
>;getPubkeyFromAddress
: (address
) =>Promise
<PublicKey
>;signTransaction
: (transaction
) =>Promise
<Transaction
|VersionedTransaction
>;transfer
: (__namedParameters
) =>Promise
<string
>; }>
Defined in: solana/toolbox.ts:42
Parameters
Section titled “Parameters”toolboxParams?
Section titled “toolboxParams?”{ signer?
: SolanaSigner
; } | { derivationPath?
: DerivationPathArray
; index?
: number
; phrase?
: string
; }
Returns
Section titled “Returns”Promise
<{ broadcastTransaction
: (transaction
) => Promise
<string
>; createKeysForPath
: (__namedParameters
) => Promise
<Keypair
>; createTransaction
: (__namedParameters
) => Promise
<Transaction
>; createTransactionFromInstructions
: (__namedParameters
) => Promise
<Transaction
>; estimateTransactionFee
: (__namedParameters
) => Promise
<AssetValue
>; getAddress
: () => string
; getAddressFromPubKey
: (publicKey
) => string
; getAddressValidator
: () => Promise
<(address
) => boolean
>; getBalance
: (address
, scamFilter
) => Promise
<AssetValue
[]>; getConnection
: () => Promise
<Connection
>; getPubkeyFromAddress
: (address
) => Promise
<PublicKey
>; signTransaction
: (transaction
) => Promise
<Transaction
| VersionedTransaction
>; transfer
: (__namedParameters
) => Promise
<string
>; }>