Documentation ¶
Index ¶
Constants ¶
View Source
const ( RelayerOK = 0 InternalServerError = 1 InvalidRequestError = 2 InsufficentGasError = 3 EstimateGasError = 4 SendTransactionError = 5 )
View Source
const GasLimitRelax = 120
View Source
const PackedGasFeeLimitShift uint64 = 10 ^ 11
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainError ¶
type Error ¶
type Error struct { Code int `json:"code"` Message string `json:"message"` ChainError *ChainError `json:"chainError,omitempty"` }
func NewEstimateGasError ¶
func NewInsufficentGasError ¶
func NewInternalServerError ¶
func NewInternalServerError() *Error
func NewInvalidRequestError ¶
func NewSendTransactionError ¶
Click to show internal directories.
Click to hide internal directories.