Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeTx ¶ added in v1.0.37
func NormalizeTx(srcTx *Tx) (blockatlas.Tx, bool)
Normalize converts a Ripple transaction into the generic model
func NormalizeTxs ¶ added in v1.0.37
func NormalizeTxs(srcTxs []Tx) (txs []blockatlas.Tx)
Types ¶
type Client ¶ added in v1.0.0
type Client struct {
blockatlas.Request
}
func (*Client) GetBlockByNumber ¶ added in v1.0.37
func (*Client) GetCurrentBlock ¶ added in v1.0.37
type DeliveredAmount ¶ added in v1.0.37
type LedgerInfo ¶ added in v1.0.37
type LedgerResponse ¶ added in v1.0.37
type LedgerResponse struct {
Ledger LedgerInfo `json:"ledger"`
}
type Meta ¶ added in v1.0.37
type Meta struct { TransactionResult TransactionResult `json:"TransactionResult,omitempty"` DeliveredAmount interface{} `json:"delivered_amount,omitempty"` }
type Payment ¶ added in v1.0.0
type Payment struct { TransactionType TransactionType `json:"TransactionType"` Flags uint64 `json:"Flags"` Sequence uint64 `json:"Sequence"` Fee blockatlas.Amount `json:"Fee"` SigningPubKey string `json:"SigningPubKey"` TxnSignature string `json:"TxnSignature"` Account string `json:"Account"` Destination string `json:"Destination"` DestinationTag int64 `json:"DestinationTag,omitempty"` }
type Platform ¶ added in v1.0.0
type Platform struct {
// contains filtered or unexported fields
}
func (*Platform) CurrentBlockNumber ¶ added in v1.0.37
func (*Platform) GetBlockByNumber ¶ added in v1.0.37
func (p *Platform) GetBlockByNumber(num int64) (*blockatlas.Block, error)
func (*Platform) GetTxsByAddress ¶ added in v1.0.0
func (p *Platform) GetTxsByAddress(address string) (blockatlas.TxPage, error)
type TransactionResult ¶ added in v1.1.0
type TransactionResult string
type TransactionType ¶ added in v1.1.0
type TransactionType string
Click to show internal directories.
Click to hide internal directories.