new MultisigTxApi()
- Version:
- 1.0
MultisigTx service.
Methods
retrieveMultisigTransactions(opts, callback)
Retrieve pending transactions Retrieve pending transactions that had been send from a multisig account.<p></p> ##### Size<p></p> * The query parameter `size` is optional. (Min = 1, Max = 1000, Default = 100)<br> * Returns an error when given a negative number<br> * Uses default value (`size=100`) when `size=0`<br> * Uses the maximum value (`size=1000`) when given a value higher than the maximum value.<br>
Parameters:
| Name | Type | Description |
|---|---|---|
opts |
Object | Optional parameters |
callback |
MultisigTxApi~retrieveMultisigTransactionsCallback | The callback function, accepting three arguments: error, data, response data is of type: MultisigTransactions |
signPendingTransaction(callback)
Sign pending transaction A valid signer Signs a pending transaction.
Parameters:
| Name | Type | Description |
|---|---|---|
callback |
MultisigTxApi~signPendingTransactionCallback | The callback function, accepting three arguments: error, data, response data is of type: MultisigTransactionStatus |
signPendingTransactionBySig(opts, callback)
Sign transaction with a signature value Add a signature to a pending transaction with a signature value. You can obtain a signature value externally from an account that you don't own, and use it to add to transactions.
Parameters:
| Name | Type | Description |
|---|---|---|
opts |
Object | Optional parameters |
callback |
MultisigTxApi~signPendingTransactionBySigCallback | The callback function, accepting three arguments: error, data, response data is of type: MultisigTransactionStatus |
Type Definitions
retrieveMultisigTransactionsCallback(error, data, response)
Callback function to receive the result of the retrieveMultisigTransactions operation.
Parameters:
| Name | Type | Description |
|---|---|---|
error |
String | Error message, if any. |
data |
MultisigTransactions | The data returned by the service call. |
response |
String | The complete HTTP response. |
signPendingTransactionCallback(error, data, response)
Callback function to receive the result of the signPendingTransaction operation.
Parameters:
| Name | Type | Description |
|---|---|---|
error |
String | Error message, if any. |
data |
MultisigTransactionStatus | The data returned by the service call. |
response |
String | The complete HTTP response. |
signPendingTransactionBySigCallback(error, data, response)
Callback function to receive the result of the signPendingTransactionBySig operation.
Parameters:
| Name | Type | Description |
|---|---|---|
error |
String | Error message, if any. |
data |
MultisigTransactionStatus | The data returned by the service call. |
response |
String | The complete HTTP response. |