ACCSFields
swapchain documentation › ACCSFields
Contains raw user input to run an ACCS. Needs to get parsed.
interface
ACCSFields
Hierarchy
- ACCSFields
Index
Properties
- amountToReceive
- amountToSend
- bitcoinPrivateKey
- bitcoinTxID
- bitsharesPrivateKey
- counterpartyBitcoinPublicKey
- counterpartyBitsharesAccountName
- currencyToGive
- mode
- networkToTrade
- priority
- rate
- secret
- secretHash
Properties
amountToReceive
• amountToReceive: number
Defined in pkg/accs/accs.ts:44
The amount to receive.
amountToSend
• amountToSend: number
Defined in pkg/accs/accs.ts:34
The amount to send.
bitcoinPrivateKey
• bitcoinPrivateKey: string
Defined in pkg/accs/accs.ts:49
The Bitcoin private key.
bitcoinTxID
• bitcoinTxID: string
Defined in pkg/accs/accs.ts:69
The Bitcoin transaction ID to spend.
bitsharesPrivateKey
• bitsharesPrivateKey: string
Defined in pkg/accs/accs.ts:54
The Bitshares private key.
counterpartyBitcoinPublicKey
• counterpartyBitcoinPublicKey: string
Defined in pkg/accs/accs.ts:59
The Bitcoin public key of the counterparty.
counterpartyBitsharesAccountName
• counterpartyBitsharesAccountName: string
Defined in pkg/accs/accs.ts:64
The Bitshares account name of the counterparty.
currencyToGive
• currencyToGive: string
Defined in pkg/accs/accs.ts:29
The currency to give. Either BTC or BTS.
mode
• mode: string
Defined in pkg/accs/accs.ts:19
The transaction mode. Either proposer or accepter.
networkToTrade
• networkToTrade: string
Defined in pkg/accs/accs.ts:24
The network name. Either mainnet or testnet.
priority
• priority: number
Defined in pkg/accs/accs.ts:74
The priority of the transactions. Either 0 (high), 1 (medium) or 2 (low).
rate
• rate: number
Defined in pkg/accs/accs.ts:39
The exchange rate both parties agreed on.
secret
• secret: Secret
Defined in pkg/accs/accs.ts:79
A secret object with a random preimage and its corresponding SHA256 hash.
Optional
secretHash
• secretHash? : undefined | string
Defined in pkg/accs/accs.ts:84
A secret SHA256 hash.