Skip to main content

@exodus/tx-signer

The transaction signer delegates signing of transactions to the corresponding software or hardware wallet.

Install

yarn add @exodus/tx-signer

Usage

This feature is designed to be used together with @exodus/headless. See using the sdk.

Play with it

  1. Open the playground https://exodus-hydra.pages.dev/features/tx-signer
  2. Try out the some methods via the UI. These corresponds 1:1 with the exodus.transactionSigner API.

API Side

See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration.

const result = await exodus.transactionSigner.signTransaction({
baseAssetName: 'bitcoin',
walletAccount: WalletAccount.DEFAULT,
unsignedTx: {
txData: {
// your tx data
},
txMeta: {
// your tx meta
},
},
})