Documentation ¶
Index ¶
- type BlockFrostChainContext
- func (bfc *BlockFrostChainContext) AddressUtxos(address string, gather bool) []Base.AddressUTXO
- func (bfc *BlockFrostChainContext) Epoch() int
- func (bfc *BlockFrostChainContext) EvaluateTx(tx []byte) map[string]Redeemer.ExecutionUnits
- func (bfc *BlockFrostChainContext) GenesisParams() Base.GenesisParameters
- func (bfc *BlockFrostChainContext) GetGenesisParams() Base.GenesisParameters
- func (bfc *BlockFrostChainContext) GetProtocolParams() Base.ProtocolParameters
- func (bfc *BlockFrostChainContext) Init()
- func (bfc *BlockFrostChainContext) LastBlockSlot() int
- func (bfc *BlockFrostChainContext) LatestBlock() Base.Block
- func (bfc *BlockFrostChainContext) LatestEpoch() Base.Epoch
- func (bfc *BlockFrostChainContext) LatestEpochParams() Base.ProtocolParameters
- func (bfc *BlockFrostChainContext) MaxTxFee() int
- func (bfc *BlockFrostChainContext) Network() int
- func (bfc *BlockFrostChainContext) SpecialSubmitTx(tx Transaction.Transaction, logger chan string) serialization.TransactionId
- func (bfc *BlockFrostChainContext) SubmitTx(tx Transaction.Transaction) serialization.TransactionId
- func (bfc *BlockFrostChainContext) TxOuts(txHash string) []Base.Output
- func (bfc *BlockFrostChainContext) Utxos(address Address.Address) []UTxO.UTxO
- type EvalResult
- type ExecutionResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockFrostChainContext ¶
type BlockFrostChainContext struct { CustomSubmissionEndpoints []string // contains filtered or unexported fields }
func NewBlockfrostChainContext ¶
func NewBlockfrostChainContext(projectId string, network int, baseUrl string) BlockFrostChainContext
func (*BlockFrostChainContext) AddressUtxos ¶
func (bfc *BlockFrostChainContext) AddressUtxos(address string, gather bool) []Base.AddressUTXO
func (*BlockFrostChainContext) Epoch ¶
func (bfc *BlockFrostChainContext) Epoch() int
func (*BlockFrostChainContext) EvaluateTx ¶
func (bfc *BlockFrostChainContext) EvaluateTx(tx []byte) map[string]Redeemer.ExecutionUnits
func (*BlockFrostChainContext) GenesisParams ¶
func (bfc *BlockFrostChainContext) GenesisParams() Base.GenesisParameters
func (*BlockFrostChainContext) GetGenesisParams ¶
func (bfc *BlockFrostChainContext) GetGenesisParams() Base.GenesisParameters
func (*BlockFrostChainContext) GetProtocolParams ¶
func (bfc *BlockFrostChainContext) GetProtocolParams() Base.ProtocolParameters
func (*BlockFrostChainContext) Init ¶
func (bfc *BlockFrostChainContext) Init()
func (*BlockFrostChainContext) LastBlockSlot ¶
func (bfc *BlockFrostChainContext) LastBlockSlot() int
func (*BlockFrostChainContext) LatestBlock ¶
func (bfc *BlockFrostChainContext) LatestBlock() Base.Block
func (*BlockFrostChainContext) LatestEpoch ¶
func (bfc *BlockFrostChainContext) LatestEpoch() Base.Epoch
func (*BlockFrostChainContext) LatestEpochParams ¶
func (bfc *BlockFrostChainContext) LatestEpochParams() Base.ProtocolParameters
func (*BlockFrostChainContext) MaxTxFee ¶
func (bfc *BlockFrostChainContext) MaxTxFee() int
func (*BlockFrostChainContext) Network ¶
func (bfc *BlockFrostChainContext) Network() int
func (*BlockFrostChainContext) SpecialSubmitTx ¶
func (bfc *BlockFrostChainContext) SpecialSubmitTx(tx Transaction.Transaction, logger chan string) serialization.TransactionId
func (*BlockFrostChainContext) SubmitTx ¶
func (bfc *BlockFrostChainContext) SubmitTx(tx Transaction.Transaction) serialization.TransactionId
type EvalResult ¶
type ExecutionResult ¶
type ExecutionResult struct {
Result EvalResult `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.