SwapExecutionActionBitcoin<T>
type SwapExecutionActionBitcoin<T> = object;
Defined in: atomiq-sdk/src/types/SwapExecutionAction.ts:29
Swap execution action on on-chain Bitcoin, has following types:
"ADDRESS"- Destination bitcoin address and BTC amount to be sent"FUNDED_PSBT"- A ready to sign PSBT with the inputs populated from the provided bitcoin wallet address"RAW_PSBT"- Raw PSBT without the inputs, the implementor needs to add the input UTXOs before signing the transaction
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends "ADDRESS" | "FUNDED_PSBT" | "RAW_PSBT" | "ADDRESS" | "FUNDED_PSBT" | "RAW_PSBT" |
Properties
chain
chain: "BITCOIN";
Defined in: atomiq-sdk/src/types/SwapExecutionAction.ts:34
description
description: string;
Defined in: atomiq-sdk/src/types/SwapExecutionAction.ts:33
name
name: "Payment";
Defined in: atomiq-sdk/src/types/SwapExecutionAction.ts:32
txs
txs: T extends "ADDRESS" ? object : T extends "FUNDED_PSBT" ? object : object[];
Defined in: atomiq-sdk/src/types/SwapExecutionAction.ts:35