Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(fx.Annotated{ Name: "aptos", Target: NewAptosClientFactory, }), )
Functions ¶
func NewAptosClientFactory ¶
func NewAptosClientFactory(params internal.RestapiClientParams) internal.ClientFactory
Types ¶
type AptosError ¶
type AptosError struct { Message string `json:"message"` ErrorCode string `json:"error_code"` VmErrorCode int `json:"vm_error_code,omitempty"` }
This is Aptos specific error response. The detail can be found here: https://fullnode.mainnet.aptoslabs.com/v1/spec#/operations/get_block_by_height
Click to show internal directories.
Click to hide internal directories.