Documentation
¶
Index ¶
- type ErgBlock
- type ErgBoxIds
- type ErgHeader
- type ErgNode
- func (n *ErgNode) ErgoTreeToAddress(ergoTree string) (string, error)
- func (n *ErgNode) GetCurrenHeight() (int, error)
- func (n *ErgNode) GetErgUtxoBox(boxId string) (ErgTxOutputNode, error)
- func (n *ErgNode) GetTxFee(txSize int) (int, error)
- func (n *ErgNode) GetUnconfirmedOutputsByErgoTree(ergoTree string, limit, offset int) ([]ErgTxOutputNode, error)
- func (n *ErgNode) GetUnconfirmedTxs(limit, offset int) ([]ErgTxUnconfirmed, error)
- func (n *ErgNode) PostErgOracleTx(payload []byte) ([]byte, error)
- func (n *ErgNode) SerializeErgBox(boxId string) (string, error)
- type ErgTx
- type ErgTxOutput
- type ErgTxOutputNode
- type ErgTxUnconfirmed
- type Explorer
- type Reg
- type Registers
- type RegistersNode
- type Serialized
- type Tokens
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErgNode ¶
type ErgNode struct {
// contains filtered or unexported fields
}
func NewErgNode ¶
func (*ErgNode) ErgoTreeToAddress ¶
func (*ErgNode) GetCurrenHeight ¶
func (*ErgNode) GetErgUtxoBox ¶
func (n *ErgNode) GetErgUtxoBox(boxId string) (ErgTxOutputNode, error)
func (*ErgNode) GetUnconfirmedOutputsByErgoTree ¶ added in v0.0.4
func (n *ErgNode) GetUnconfirmedOutputsByErgoTree(ergoTree string, limit, offset int) ([]ErgTxOutputNode, error)
func (*ErgNode) GetUnconfirmedTxs ¶
func (n *ErgNode) GetUnconfirmedTxs(limit, offset int) ([]ErgTxUnconfirmed, error)
type ErgTx ¶
type ErgTx struct { Id string `json:"id"` Height int `json:"inclusionHeight"` Confirmations int `json:"numConfirmations,omitempty"` Outputs []ErgTxOutput `json:"outputs"` }
type ErgTxOutput ¶
type ErgTxOutputNode ¶
type ErgTxOutputNode struct { BoxId string `json:"boxId"` Assets []Tokens `json:"assets,omitempty"` AdditionalRegisters RegistersNode `json:"additionalRegisters,omitempty"` ErgoTree string `json:"ergoTree"` TxId string `json:"transactionId"` }
type ErgTxUnconfirmed ¶
type ErgTxUnconfirmed struct { Id string `json:"id"` Height int `json:"inclusionHeight"` Confirmations int `json:"numConfirmations,omitempty"` Outputs []ErgTxOutputNode `json:"outputs"` }
type Explorer ¶
type Explorer struct {
// contains filtered or unexported fields
}
func NewExplorer ¶
type RegistersNode ¶
type Serialized ¶
Click to show internal directories.
Click to hide internal directories.