Documentation
¶
Index ¶
- type ChainDispatcher
- func (d *ChainDispatcher) BuildSignedTransaction(ctx context.Context, request *utxo.SignedTransactionRequest) (*utxo.SignedTransactionResponse, error)
- func (d *ChainDispatcher) ConvertAddress(ctx context.Context, request *utxo.ConvertAddressRequest) (*utxo.ConvertAddressResponse, error)
- func (d *ChainDispatcher) CreateUnSignTransaction(ctx context.Context, request *utxo.UnSignTransactionRequest) (*utxo.UnSignTransactionResponse, error)
- func (d *ChainDispatcher) DecodeTransaction(ctx context.Context, request *utxo.DecodeTransactionRequest) (*utxo.DecodeTransactionResponse, error)
- func (d *ChainDispatcher) GetAccount(ctx context.Context, request *utxo.AccountRequest) (*utxo.AccountResponse, error)
- func (d *ChainDispatcher) GetBlockByHash(ctx context.Context, request *utxo.BlockHashRequest) (*utxo.BlockResponse, error)
- func (d *ChainDispatcher) GetBlockByNumber(ctx context.Context, request *utxo.BlockNumberRequest) (*utxo.BlockResponse, error)
- func (d *ChainDispatcher) GetBlockHeaderByHash(ctx context.Context, request *utxo.BlockHeaderHashRequest) (*utxo.BlockHeaderResponse, error)
- func (d *ChainDispatcher) GetBlockHeaderByNumber(ctx context.Context, request *utxo.BlockHeaderNumberRequest) (*utxo.BlockHeaderResponse, error)
- func (d *ChainDispatcher) GetFee(ctx context.Context, request *utxo.FeeRequest) (*utxo.FeeResponse, error)
- func (d *ChainDispatcher) GetSupportChains(ctx context.Context, request *utxo.SupportChainsRequest) (*utxo.SupportChainsResponse, error)
- func (d *ChainDispatcher) GetTxByAddress(ctx context.Context, request *utxo.TxAddressRequest) (*utxo.TxAddressResponse, error)
- func (d *ChainDispatcher) GetTxByHash(ctx context.Context, request *utxo.TxHashRequest) (*utxo.TxHashResponse, error)
- func (d *ChainDispatcher) GetUnspentOutputs(ctx context.Context, request *utxo.UnspentOutputsRequest) (*utxo.UnspentOutputsResponse, error)
- func (d *ChainDispatcher) Interceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- func (d *ChainDispatcher) SendTx(ctx context.Context, request *utxo.SendTxRequest) (*utxo.SendTxResponse, error)
- func (d *ChainDispatcher) ValidAddress(ctx context.Context, request *utxo.ValidAddressRequest) (*utxo.ValidAddressResponse, error)
- func (d *ChainDispatcher) VerifySignedTransaction(ctx context.Context, request *utxo.VerifyTransactionRequest) (*utxo.VerifyTransactionResponse, error)
- type ChainType
- type CommonReply
- type CommonRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainDispatcher ¶
type ChainDispatcher struct {
// contains filtered or unexported fields
}
func (*ChainDispatcher) BuildSignedTransaction ¶
func (d *ChainDispatcher) BuildSignedTransaction(ctx context.Context, request *utxo.SignedTransactionRequest) (*utxo.SignedTransactionResponse, error)
func (*ChainDispatcher) ConvertAddress ¶
func (d *ChainDispatcher) ConvertAddress(ctx context.Context, request *utxo.ConvertAddressRequest) (*utxo.ConvertAddressResponse, error)
func (*ChainDispatcher) CreateUnSignTransaction ¶
func (d *ChainDispatcher) CreateUnSignTransaction(ctx context.Context, request *utxo.UnSignTransactionRequest) (*utxo.UnSignTransactionResponse, error)
func (*ChainDispatcher) DecodeTransaction ¶
func (d *ChainDispatcher) DecodeTransaction(ctx context.Context, request *utxo.DecodeTransactionRequest) (*utxo.DecodeTransactionResponse, error)
func (*ChainDispatcher) GetAccount ¶
func (d *ChainDispatcher) GetAccount(ctx context.Context, request *utxo.AccountRequest) (*utxo.AccountResponse, error)
func (*ChainDispatcher) GetBlockByHash ¶
func (d *ChainDispatcher) GetBlockByHash(ctx context.Context, request *utxo.BlockHashRequest) (*utxo.BlockResponse, error)
func (*ChainDispatcher) GetBlockByNumber ¶
func (d *ChainDispatcher) GetBlockByNumber(ctx context.Context, request *utxo.BlockNumberRequest) (*utxo.BlockResponse, error)
func (*ChainDispatcher) GetBlockHeaderByHash ¶
func (d *ChainDispatcher) GetBlockHeaderByHash(ctx context.Context, request *utxo.BlockHeaderHashRequest) (*utxo.BlockHeaderResponse, error)
func (*ChainDispatcher) GetBlockHeaderByNumber ¶
func (d *ChainDispatcher) GetBlockHeaderByNumber(ctx context.Context, request *utxo.BlockHeaderNumberRequest) (*utxo.BlockHeaderResponse, error)
func (*ChainDispatcher) GetFee ¶
func (d *ChainDispatcher) GetFee(ctx context.Context, request *utxo.FeeRequest) (*utxo.FeeResponse, error)
func (*ChainDispatcher) GetSupportChains ¶
func (d *ChainDispatcher) GetSupportChains(ctx context.Context, request *utxo.SupportChainsRequest) (*utxo.SupportChainsResponse, error)
func (*ChainDispatcher) GetTxByAddress ¶
func (d *ChainDispatcher) GetTxByAddress(ctx context.Context, request *utxo.TxAddressRequest) (*utxo.TxAddressResponse, error)
func (*ChainDispatcher) GetTxByHash ¶
func (d *ChainDispatcher) GetTxByHash(ctx context.Context, request *utxo.TxHashRequest) (*utxo.TxHashResponse, error)
func (*ChainDispatcher) GetUnspentOutputs ¶
func (d *ChainDispatcher) GetUnspentOutputs(ctx context.Context, request *utxo.UnspentOutputsRequest) (*utxo.UnspentOutputsResponse, error)
func (*ChainDispatcher) Interceptor ¶
func (d *ChainDispatcher) Interceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
func (*ChainDispatcher) SendTx ¶
func (d *ChainDispatcher) SendTx(ctx context.Context, request *utxo.SendTxRequest) (*utxo.SendTxResponse, error)
func (*ChainDispatcher) ValidAddress ¶
func (d *ChainDispatcher) ValidAddress(ctx context.Context, request *utxo.ValidAddressRequest) (*utxo.ValidAddressResponse, error)
func (*ChainDispatcher) VerifySignedTransaction ¶
func (d *ChainDispatcher) VerifySignedTransaction(ctx context.Context, request *utxo.VerifyTransactionRequest) (*utxo.VerifyTransactionResponse, error)
type CommonReply ¶
type CommonReply = utxo.SupportChainsResponse
type CommonRequest ¶
type CommonRequest interface {
GetChain() string
}
Click to show internal directories.
Click to hide internal directories.