bridgeapi

package
v0.0.0-...-bcad34f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgeApi

type BridgeApi struct {
	// contains filtered or unexported fields
}

func NewBridgeApi

func NewBridgeApi(url string) *BridgeApi

func (*BridgeApi) GetSolanaEAITxs

func (m *BridgeApi) GetSolanaEAITxs(fromBlock uint64) ([]*SolanaEAITxResp, error)

type SolanaEAITxResp

type SolanaEAITxResp struct {
	ID                   string         `json:"id"`
	DeletedAt            *time.Time     `json:"deleted_at"`
	CreatedAt            *time.Time     `json:"created_at"`
	UpdatedAt            *time.Time     `json:"updated_at"`
	FromTokenAddress     string         `json:"fromTokenAddress"`
	FromNativeAddress    string         `json:"fromNativeAddress"`
	DepositTokenAddress  string         `json:"depositTokenAddress"`
	DepositNativeAddress string         `json:"depositNativeAddress"`
	TxReceivedDeposit    string         `json:"txReceivedDeposit"`
	Token                string         `json:"token"`
	Amount               numeric.BigInt `json:"amount"`
	Block                int            `json:"block"`
}

Jump to

Keyboard shortcuts

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