WalletAdapter
@liquidium/client / WalletAdapter
Interface: WalletAdapter
Defined in: packages/client/src/core/wallet-actions.ts:118
Optional wallet capabilities. Implement only what your flow uses:
signMessage- account creation, borrow, withdraw, recoverysendBtcTransaction/sendEthTransaction/sendSolTransaction- native-asset transfer supplysendIcrcTransfer- automated ck-ledger and ICP ledger transfer supplysendEthTransaction- contract-interaction supply and ETH native-asset sends
Properties
sendBtcTransaction?
optionalsendBtcTransaction?: (request) =>Promise<string>
Defined in: packages/client/src/core/wallet-actions.ts:126
Sends a BTC transaction and returns its transaction id.
Parameters
request
Returns
Promise<string>
sendEthTransaction?
optionalsendEthTransaction?: (request) =>Promise<string>
Defined in: packages/client/src/core/wallet-actions.ts:124
Sends an EVM transaction and returns its transaction hash.
Parameters
request
Returns
Promise<string>
sendIcrcTransfer?
optionalsendIcrcTransfer?: (request) =>Promise<string>
Defined in: packages/client/src/core/wallet-actions.ts:128
Sends an ICRC ledger transfer and returns the ledger transaction reference.
Parameters
request
Returns
Promise<string>
sendSolTransaction?
optionalsendSolTransaction?: (request) =>Promise<string>
Defined in: packages/client/src/core/wallet-actions.ts:120
Sends native SOL and returns its case-sensitive base58 transaction signature.
Parameters
request
Returns
Promise<string>
signMessage?
optionalsignMessage?: (request) =>Promise<string>
Defined in: packages/client/src/core/wallet-actions.ts:122
Signs an SDK plaintext message. BTC accepts base64 BIP-322 or hex; SOL requires 64 hex-encoded Ed25519 bytes.
Parameters
request
Returns
Promise<string>