blockchain

package
v0.0.0-...-e701cd2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bcash

type Bcash struct {
}

func (*Bcash) BcashBroadcast

func (b *Bcash) BcashBroadcast(txData string, signatureId string) *common.TransactionHash

*

func (*Bcash) BcashGetBlock

func (b *Bcash) BcashGetBlock(hash string) *bch.Block

*

func (*Bcash) BcashGetBlockHash

func (b *Bcash) BcashGetBlockHash(i uint64) *common.BlockHash

*

func (*Bcash) BcashGetCurrentBlock

func (b *Bcash) BcashGetCurrentBlock() *bch.Info

*

func (*Bcash) BcashGetTransaction

func (b *Bcash) BcashGetTransaction(hash string) *bch.Tx

*

type Bitcoin

type Bitcoin struct {
}

func (*Bitcoin) BcashGetTxForAccount

func (b *Bitcoin) BcashGetTxForAccount(address string, skip uint32) *[]bch.Tx

*

func (*Bitcoin) BtcBroadcast

func (b *Bitcoin) BtcBroadcast(txData string, signatureId string) *common.TransactionHash

*

func (*Bitcoin) BtcGetBlock

func (b *Bitcoin) BtcGetBlock(hash string) *btc.Block

*

func (*Bitcoin) BtcGetBlockHash

func (b *Bitcoin) BtcGetBlockHash(i uint64) *common.BlockHash

*

func (*Bitcoin) BtcGetCurrentBlock

func (b *Bitcoin) BtcGetCurrentBlock() *btc.Info

*

func (*Bitcoin) BtcGetTransaction

func (b *Bitcoin) BtcGetTransaction(hash string) *btc.Tx

*

func (*Bitcoin) BtcGetTxForAccount

func (b *Bitcoin) BtcGetTxForAccount(address string, pageSize uint16, offset uint16) []btc.Tx

*

func (*Bitcoin) BtcGetUTXO

func (b *Bitcoin) BtcGetUTXO(hash string, i uint64) *btc.UTXO

*

type Ethereum

type Ethereum struct {
}

func (*Ethereum) EthBroadcast

func (e *Ethereum) EthBroadcast(txData string, signatureId string) *common.TransactionHash

*

func (*Ethereum) EthGetAccountBalance

func (e *Ethereum) EthGetAccountBalance(address string) decimal.Decimal

*

func (*Ethereum) EthGetAccountErc20Address

func (e *Ethereum) EthGetAccountErc20Address(address string, contractAddress string) *common.Balance

*

func (*Ethereum) EthGetAccountTransactions

func (e *Ethereum) EthGetAccountTransactions(address string, pageSize uint32, offset uint32) *[]eth.Tx

*

func (*Ethereum) EthGetBlock

func (e *Ethereum) EthGetBlock(hash string) *eth.Block

*

func (*Ethereum) EthGetCurrentBlock

func (e *Ethereum) EthGetCurrentBlock() uint32

*

func (*Ethereum) EthGetTransaction

func (e *Ethereum) EthGetTransaction(hash string) *eth.Tx

*

func (*Ethereum) EthGetTransactionsCount

func (e *Ethereum) EthGetTransactionsCount(address string) uint64

*

type Litecoin

type Litecoin struct {
}

func (*Litecoin) LtcBroadcast

func (b *Litecoin) LtcBroadcast(txData string, signatureId string) *common.TransactionHash

*

func (*Litecoin) LtcGetBlock

func (b *Litecoin) LtcGetBlock(hash string) *ltc.Block

*

func (*Litecoin) LtcGetBlockHash

func (b *Litecoin) LtcGetBlockHash(i uint64) *common.BlockHash

*

func (*Litecoin) LtcGetCurrentBlock

func (b *Litecoin) LtcGetCurrentBlock() *ltc.Info

*

func (*Litecoin) LtcGetTransaction

func (b *Litecoin) LtcGetTransaction(hash string) *ltc.Tx

*

func (*Litecoin) LtcGetTxForAccount

func (b *Litecoin) LtcGetTxForAccount(address string, pageSize uint16, offset uint16) []ltc.Tx

*

func (*Litecoin) LtcGetUTXO

func (b *Litecoin) LtcGetUTXO(hash string, i uint64) *ltc.LtcUTXO

*

type Vet

type Vet struct {
}

func (*Vet) VetBroadcast

func (v *Vet) VetBroadcast(txData string, signatureId string) *common.TransactionHash

*

func (*Vet) VetEstimateGas

func (v *Vet) VetEstimateGas(body request.EstimateGasVet) *vet.VetEstimateGas

*

func (*Vet) VetGetAccountBalance

func (v *Vet) VetGetAccountBalance(address string) *common.Balance

*

func (*Vet) VetGetAccountEnergy

func (v *Vet) VetGetAccountEnergy(address string) *vet.Energy

*

func (*Vet) VetGetBlock

func (v *Vet) VetGetBlock(hash string) *vet.VetBlock

*

func (*Vet) VetGetCurrentBlock

func (v *Vet) VetGetCurrentBlock() uint64

*

func (*Vet) VetGetTransaction

func (v *Vet) VetGetTransaction(hash string) *vet.Tx

*

func (*Vet) VetGetTransactionReceipt

func (v *Vet) VetGetTransactionReceipt(hash string) *vet.VetTxReceipt

*

type Xlm

type Xlm struct {
}

func (*Xlm) XlmBroadcast

func (x *Xlm) XlmBroadcast(txData string, signatureId string) *common.TransactionHash

*

func (*Xlm) XlmGetAccountInfo

func (x *Xlm) XlmGetAccountInfo(account string) *xlm.Sequence

*

func (*Xlm) XlmGetCurrentLedger

func (x *Xlm) XlmGetCurrentLedger() string

*

func (*Xlm) XlmGetFee

func (x *Xlm) XlmGetFee() uint32

*

func (*Xlm) XlmGetLedger

func (x *Xlm) XlmGetLedger(i uint32) string

*

func (*Xlm) XlmGetLedgerTx

func (x *Xlm) XlmGetLedgerTx(i uint32) string

*

type Xrp

type Xrp struct {
}

func (*Xrp) XrpBroadcast

func (x *Xrp) XrpBroadcast(txData string, signatureId string) *common.TransactionHash

*

func (*Xrp) XrpGetAccountInfo

func (x *Xrp) XrpGetAccountInfo(account string) *xrp.AccountInfo

*

func (*Xrp) XrpGetAccountTransactions

func (x *Xrp) XrpGetAccountTransactions(address string, min uint32, marker string) string

*

func (*Xrp) XrpGetCurrentLedger

func (x *Xrp) XrpGetCurrentLedger() uint64

*

func (*Xrp) XrpGetFee

func (x *Xrp) XrpGetFee() uint32

*

func (*Xrp) XrpGetLedger

func (x *Xrp) XrpGetLedger(i uint64) string

*

Jump to

Keyboard shortcuts

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