WalletAdapter
@liquidium/client / WalletAdapter
Interface: WalletAdapter
Defined in: packages/client/src/core/wallet-actions.ts:108
Optional wallet capabilities. Implement only what your flow uses:
signMessage- account creation, borrow, withdrawsendBtcTransaction/sendEthTransaction- automated 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:114
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:112
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:116
Sends an ICRC ledger transfer and returns the ledger transaction reference.
Parameters
request
Returns
Promise<string>
signMessage?
optionalsignMessage?: (request) =>Promise<string>
Defined in: packages/client/src/core/wallet-actions.ts:110
Signs an SDK plaintext message and returns the wallet signature. BTC adapters may return base64 BIP-322 or hex-encoded signature bytes.
Parameters
request
Returns
Promise<string>