Skip to content

Commit

Permalink
Merge e345d18 into 34e1724
Browse files Browse the repository at this point in the history
  • Loading branch information
chanakasameera authored Apr 11, 2022
2 parents 34e1724 + e345d18 commit 515b8e0
Show file tree
Hide file tree
Showing 3 changed files with 1,177 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/node/CATEGORIES/08-account.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,28 @@ interface UTXO {
vout: number
}
```

## withdrawFutureSwap

Creates and submits to the network a withdrawal from futures contract transaction.

```ts title="client.account.withdrawFutureSwap()"
interface account {
withdrawFutureSwap (future: FutureSwap, utxos: UTXO[] = []): Promise<string>
}

interface FutureSwap {
address: string
amount: string
destination?: string
}

interface UTXO {
txid: string
vout: number
}
```

## getPendingFutureSwaps

Get specific pending futures.
Expand Down
Loading

0 comments on commit 515b8e0

Please sign in to comment.