package
0.7.0
Repository: https://github.com/tokenized/pkg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTxStatus returns the status of a tx.
No description provided by the author
No description provided by the author
IsRejectError returns true if the error represents the node actually rejecting the tx and saying it will not be mined.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FeeTypeData only applies to bytes in scripts that start with OP_RETURN or OP_FALSE, OP_RETURN.
FeeTypeStandard is for any bytes in the tx that don't fall in another fee type.

# Variables

AlreadyInMempool can be returned when submitting a tx that the miner has already seen.
No description provided by the author
No description provided by the author
ErrSafeMode seems to mean that there is a pending block chain fork and the service can't currently verify the transaction as valid.
ErrServiceFailure means that the service failed to process the request.
No description provided by the author
ErrUnsupportedFailure means the merchant api returned a "failure" with an unrecognized message.
No description provided by the author
ExistingTx can be returned when submitting a tx that the miner has already seen.
InsufficientFee means the tx fee is too low to be mined.
MissingInputs can be returned when you are submitting a tx and the inputs are already spent, or don't exist.
NotFound means the tx is not known by the service.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GeneralResponse can be used to check the success of submit tx and tx status response payloads.
No description provided by the author
No description provided by the author
SubmitTxCallbackResponse is the message posted to the SPV channel specified in the SubmitTxRequest.CallBackURL.
No description provided by the author
When tx broadcast by someone else: "returnResult": "failure", "resultDescription": "Transaction already in the mempool",.

# Type aliases

No description provided by the author
No description provided by the author