package
1.0.5
Repository: https://github.com/null-nil/dsc-go-sdk.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
EtherToWei convert number 1 to 1 * 10^18.
FinneyToWei convert number 1 to 1 * 10^15.
GetDecimalAddressFromBech32 returns the sdk.Account address of given address, while also changing bech32 human readable prefix (HRP) to the value set on the global sdk.Config (eg: `dx`).
GetDecimalAddressFromHex returns the sdk.Account address of given address.
NewAPI creates Decimal API instance.
NewDirectAPI creates Decimal API instance for direct interaction with node.
NewDirectAPI creates Decimal API instance for direct interaction with node.
NewResponseError creates new ResponseError object.
WeiToEther convert 1 * 10^18 to 1.
WeiToFinney convert 1 * 10^15 to 1.

# 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
No description provided by the author
No description provided by the author

# Variables

Error indicating for universal decoding.
No description provided by the author

# Structs

No description provided by the author
API is a struct implementing DSC API iteraction.
No description provided by the author
No description provided by the author
API is a struct implementing DSC API iteraction.
Error contains Decimal API error response fields.
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
ResponseError wraps Resty response error and allows to generate error info.
No description provided by the author
No description provided by the author
No description provided by the author
TxError contains Decimal Node error response fields.
No description provided by the author
Response of broadcast_tx_sync.
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