new TurnkeySigner(Defined in: solana/src/index.ts:17input
):TurnkeySigner
TClient
string
TurnkeySigner
Defined in: solana/src/index.ts:15readonly
client:TClient
Defined in: solana/src/index.ts:14readonly
organizationId:string
addSignature(Defined in: solana/src/index.ts:60 This function takes a Solana transaction and adds a signature with Turnkeytx
,fromAddress
,organizationId
?):Promise
<void
>
Transaction
| VersionedTransaction
string
Solana address (base58 encoded)
string
Promise
<void
>
signAllTransactions(Defined in: solana/src/index.ts:28 This function takes an array of Solana transactions and adds a signature with Turnkey to each of themtxs
,fromAddress
,organizationId
?):Promise
<(Transaction
|VersionedTransaction
)[]>
Transaction
| VersionedTransaction
)[]
array of Transaction | VersionedTransaction (native @solana/web3.js type)
string
Solana address (base58 encoded)
string
Promise
<(Transaction
| VersionedTransaction
)[]>
signMessage(Defined in: solana/src/index.ts:83 This function takes a message and returns it after being signed with Turnkeymessage
,fromAddress
,organizationId
?):Promise
<Uint8Array
>
Uint8Array
The message to sign (Uint8Array)
string
Solana address (base58 encoded)
string
Promise
<Uint8Array
>
signTransaction(Defined in: solana/src/index.ts:106 This function takes a Solana transaction, adds a signature via Turnkey, and returns a new transactiontx
,fromAddress
,organizationId
?):Promise
<Transaction
|VersionedTransaction
>
Transaction
| VersionedTransaction
string
Solana address (base58 encoded)
string
Promise
<Transaction
| VersionedTransaction
>