aptos

package
v0.0.0-...-ae8e89f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(fx.Annotated{
		Name:   "aptos",
		Target: NewAptosClientFactory,
	}),
)

Functions

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL