Documentation ¶
Index ¶
- type RPCClient
- func (_m *RPCClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *RPCClient) ExecuteScriptAtBlockID(ctx context.Context, in *access.ExecuteScriptAtBlockIDRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *RPCClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *RPCClient) GetAccount(ctx context.Context, in *access.GetAccountRequest, opts ...grpc.CallOption) (*access.GetAccountResponse, error)
- func (_m *RPCClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, ...) (*access.BlockResponse, error)
- func (_m *RPCClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *RPCClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *RPCClient) GetBlockHeaderByID(ctx context.Context, in *access.GetBlockHeaderByIDRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *RPCClient) GetCollectionByID(ctx context.Context, in *access.GetCollectionByIDRequest, ...) (*access.CollectionResponse, error)
- func (_m *RPCClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, ...) (*access.EventsResponse, error)
- func (_m *RPCClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, ...) (*access.EventsResponse, error)
- func (_m *RPCClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *RPCClient) GetLatestBlockHeader(ctx context.Context, in *access.GetLatestBlockHeaderRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *RPCClient) GetTransaction(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
- func (_m *RPCClient) GetTransactionResult(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
- func (_m *RPCClient) Ping(ctx context.Context, in *access.PingRequest, opts ...grpc.CallOption) (*access.PingResponse, error)
- func (_m *RPCClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, ...) (*access.SendTransactionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCClient ¶
RPCClient is an autogenerated mock type for the RPCClient type
func (*RPCClient) ExecuteScriptAtBlockHeight ¶
func (_m *RPCClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockHeight provides a mock function with given fields: ctx, in, opts
func (*RPCClient) ExecuteScriptAtBlockID ¶
func (_m *RPCClient) ExecuteScriptAtBlockID(ctx context.Context, in *access.ExecuteScriptAtBlockIDRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtBlockID provides a mock function with given fields: ctx, in, opts
func (*RPCClient) ExecuteScriptAtLatestBlock ¶
func (_m *RPCClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, opts ...grpc.CallOption) (*access.ExecuteScriptResponse, error)
ExecuteScriptAtLatestBlock provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetAccount ¶
func (_m *RPCClient) GetAccount(ctx context.Context, in *access.GetAccountRequest, opts ...grpc.CallOption) (*access.GetAccountResponse, error)
GetAccount provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetBlockByHeight ¶
func (_m *RPCClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetBlockByHeight provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetBlockByID ¶
func (_m *RPCClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetBlockByID provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetBlockHeaderByHeight ¶
func (_m *RPCClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetBlockHeaderByHeight provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetBlockHeaderByID ¶
func (_m *RPCClient) GetBlockHeaderByID(ctx context.Context, in *access.GetBlockHeaderByIDRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetBlockHeaderByID provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetCollectionByID ¶
func (_m *RPCClient) GetCollectionByID(ctx context.Context, in *access.GetCollectionByIDRequest, opts ...grpc.CallOption) (*access.CollectionResponse, error)
GetCollectionByID provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetEventsForBlockIDs ¶
func (_m *RPCClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)
GetEventsForBlockIDs provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetEventsForHeightRange ¶
func (_m *RPCClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, opts ...grpc.CallOption) (*access.EventsResponse, error)
GetEventsForHeightRange provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetLatestBlock ¶
func (_m *RPCClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
GetLatestBlock provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetLatestBlockHeader ¶
func (_m *RPCClient) GetLatestBlockHeader(ctx context.Context, in *access.GetLatestBlockHeaderRequest, opts ...grpc.CallOption) (*access.BlockHeaderResponse, error)
GetLatestBlockHeader provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetTransaction ¶
func (_m *RPCClient) GetTransaction(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
GetTransaction provides a mock function with given fields: ctx, in, opts
func (*RPCClient) GetTransactionResult ¶
func (_m *RPCClient) GetTransactionResult(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetTransactionResult provides a mock function with given fields: ctx, in, opts
func (*RPCClient) Ping ¶
func (_m *RPCClient) Ping(ctx context.Context, in *access.PingRequest, opts ...grpc.CallOption) (*access.PingResponse, error)
Ping provides a mock function with given fields: ctx, in, opts
func (*RPCClient) SendTransaction ¶
func (_m *RPCClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, opts ...grpc.CallOption) (*access.SendTransactionResponse, error)
SendTransaction provides a mock function with given fields: ctx, in, opts