Documentation ¶
Index ¶
- type MockExecutionDataRPCClient
- func (_m *MockExecutionDataRPCClient) GetExecutionDataByBlockID(ctx context.Context, in *executiondata.GetExecutionDataByBlockIDRequest, ...) (*executiondata.GetExecutionDataByBlockIDResponse, error)
- func (_m *MockExecutionDataRPCClient) GetRegisterValues(ctx context.Context, in *executiondata.GetRegisterValuesRequest, ...) (*executiondata.GetRegisterValuesResponse, error)
- func (_m *MockExecutionDataRPCClient) SubscribeAccountStatusesFromLatestBlock(ctx context.Context, ...) (executiondata.ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockClient, ...)
- func (_m *MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartBlockID(ctx context.Context, ...) (executiondata.ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDClient, ...)
- func (_m *MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartHeight(ctx context.Context, ...) (executiondata.ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightClient, ...)
- func (_m *MockExecutionDataRPCClient) SubscribeEvents(ctx context.Context, in *executiondata.SubscribeEventsRequest, ...) (executiondata.ExecutionDataAPI_SubscribeEventsClient, error)
- func (_m *MockExecutionDataRPCClient) SubscribeEventsFromLatest(ctx context.Context, in *executiondata.SubscribeEventsFromLatestRequest, ...) (executiondata.ExecutionDataAPI_SubscribeEventsFromLatestClient, error)
- func (_m *MockExecutionDataRPCClient) SubscribeEventsFromStartBlockID(ctx context.Context, in *executiondata.SubscribeEventsFromStartBlockIDRequest, ...) (executiondata.ExecutionDataAPI_SubscribeEventsFromStartBlockIDClient, error)
- func (_m *MockExecutionDataRPCClient) SubscribeEventsFromStartHeight(ctx context.Context, in *executiondata.SubscribeEventsFromStartHeightRequest, ...) (executiondata.ExecutionDataAPI_SubscribeEventsFromStartHeightClient, error)
- func (_m *MockExecutionDataRPCClient) SubscribeExecutionData(ctx context.Context, in *executiondata.SubscribeExecutionDataRequest, ...) (executiondata.ExecutionDataAPI_SubscribeExecutionDataClient, error)
- type MockRPCClient
- func (_m *MockRPCClient) ExecuteScriptAtBlockHeight(ctx context.Context, in *access.ExecuteScriptAtBlockHeightRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *MockRPCClient) ExecuteScriptAtBlockID(ctx context.Context, in *access.ExecuteScriptAtBlockIDRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *MockRPCClient) ExecuteScriptAtLatestBlock(ctx context.Context, in *access.ExecuteScriptAtLatestBlockRequest, ...) (*access.ExecuteScriptResponse, error)
- func (_m *MockRPCClient) GetAccount(ctx context.Context, in *access.GetAccountRequest, opts ...grpc.CallOption) (*access.GetAccountResponse, error)
- func (_m *MockRPCClient) GetAccountAtBlockHeight(ctx context.Context, in *access.GetAccountAtBlockHeightRequest, ...) (*access.AccountResponse, error)
- func (_m *MockRPCClient) GetAccountAtLatestBlock(ctx context.Context, in *access.GetAccountAtLatestBlockRequest, ...) (*access.AccountResponse, error)
- func (_m *MockRPCClient) GetBlockByHeight(ctx context.Context, in *access.GetBlockByHeightRequest, ...) (*access.BlockResponse, error)
- func (_m *MockRPCClient) GetBlockByID(ctx context.Context, in *access.GetBlockByIDRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *MockRPCClient) GetBlockHeaderByHeight(ctx context.Context, in *access.GetBlockHeaderByHeightRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *MockRPCClient) GetBlockHeaderByID(ctx context.Context, in *access.GetBlockHeaderByIDRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *MockRPCClient) GetCollectionByID(ctx context.Context, in *access.GetCollectionByIDRequest, ...) (*access.CollectionResponse, error)
- func (_m *MockRPCClient) GetEventsForBlockIDs(ctx context.Context, in *access.GetEventsForBlockIDsRequest, ...) (*access.EventsResponse, error)
- func (_m *MockRPCClient) GetEventsForHeightRange(ctx context.Context, in *access.GetEventsForHeightRangeRequest, ...) (*access.EventsResponse, error)
- func (_m *MockRPCClient) GetExecutionResultByID(ctx context.Context, in *access.GetExecutionResultByIDRequest, ...) (*access.ExecutionResultByIDResponse, error)
- func (_m *MockRPCClient) GetExecutionResultForBlockID(ctx context.Context, in *access.GetExecutionResultForBlockIDRequest, ...) (*access.ExecutionResultForBlockIDResponse, error)
- func (_m *MockRPCClient) GetLatestBlock(ctx context.Context, in *access.GetLatestBlockRequest, opts ...grpc.CallOption) (*access.BlockResponse, error)
- func (_m *MockRPCClient) GetLatestBlockHeader(ctx context.Context, in *access.GetLatestBlockHeaderRequest, ...) (*access.BlockHeaderResponse, error)
- func (_m *MockRPCClient) GetLatestProtocolStateSnapshot(ctx context.Context, in *access.GetLatestProtocolStateSnapshotRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *MockRPCClient) GetNetworkParameters(ctx context.Context, in *access.GetNetworkParametersRequest, ...) (*access.GetNetworkParametersResponse, error)
- func (_m *MockRPCClient) GetNodeVersionInfo(ctx context.Context, in *access.GetNodeVersionInfoRequest, ...) (*access.GetNodeVersionInfoResponse, error)
- func (_m *MockRPCClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, in *access.GetProtocolStateSnapshotByBlockIDRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *MockRPCClient) GetProtocolStateSnapshotByHeight(ctx context.Context, in *access.GetProtocolStateSnapshotByHeightRequest, ...) (*access.ProtocolStateSnapshotResponse, error)
- func (_m *MockRPCClient) GetSystemTransaction(ctx context.Context, in *access.GetSystemTransactionRequest, ...) (*access.TransactionResponse, error)
- func (_m *MockRPCClient) GetSystemTransactionResult(ctx context.Context, in *access.GetSystemTransactionResultRequest, ...) (*access.TransactionResultResponse, error)
- func (_m *MockRPCClient) GetTransaction(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
- func (_m *MockRPCClient) GetTransactionResult(ctx context.Context, in *access.GetTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
- func (_m *MockRPCClient) GetTransactionResultByIndex(ctx context.Context, in *access.GetTransactionByIndexRequest, ...) (*access.TransactionResultResponse, error)
- func (_m *MockRPCClient) GetTransactionResultsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, ...) (*access.TransactionResultsResponse, error)
- func (_m *MockRPCClient) GetTransactionsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, ...) (*access.TransactionsResponse, error)
- func (_m *MockRPCClient) Ping(ctx context.Context, in *access.PingRequest, opts ...grpc.CallOption) (*access.PingResponse, error)
- func (_m *MockRPCClient) SendAndSubscribeTransactionStatuses(ctx context.Context, in *access.SendAndSubscribeTransactionStatusesRequest, ...) (access.AccessAPI_SendAndSubscribeTransactionStatusesClient, error)
- func (_m *MockRPCClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, ...) (*access.SendTransactionResponse, error)
- func (_m *MockRPCClient) SubscribeBlockDigestsFromLatest(ctx context.Context, in *access.SubscribeBlockDigestsFromLatestRequest, ...) (access.AccessAPI_SubscribeBlockDigestsFromLatestClient, error)
- func (_m *MockRPCClient) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *access.SubscribeBlockDigestsFromStartBlockIDRequest, ...) (access.AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient, error)
- func (_m *MockRPCClient) SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *access.SubscribeBlockDigestsFromStartHeightRequest, ...) (access.AccessAPI_SubscribeBlockDigestsFromStartHeightClient, error)
- func (_m *MockRPCClient) SubscribeBlockHeadersFromLatest(ctx context.Context, in *access.SubscribeBlockHeadersFromLatestRequest, ...) (access.AccessAPI_SubscribeBlockHeadersFromLatestClient, error)
- func (_m *MockRPCClient) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *access.SubscribeBlockHeadersFromStartBlockIDRequest, ...) (access.AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient, error)
- func (_m *MockRPCClient) SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *access.SubscribeBlockHeadersFromStartHeightRequest, ...) (access.AccessAPI_SubscribeBlockHeadersFromStartHeightClient, error)
- func (_m *MockRPCClient) SubscribeBlocksFromLatest(ctx context.Context, in *access.SubscribeBlocksFromLatestRequest, ...) (access.AccessAPI_SubscribeBlocksFromLatestClient, error)
- func (_m *MockRPCClient) SubscribeBlocksFromStartBlockID(ctx context.Context, in *access.SubscribeBlocksFromStartBlockIDRequest, ...) (access.AccessAPI_SubscribeBlocksFromStartBlockIDClient, error)
- func (_m *MockRPCClient) SubscribeBlocksFromStartHeight(ctx context.Context, in *access.SubscribeBlocksFromStartHeightRequest, ...) (access.AccessAPI_SubscribeBlocksFromStartHeightClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutionDataRPCClient ¶ added in v0.41.19
MockExecutionDataRPCClient is an autogenerated mock type for the ExecutionDataRPCClient type
func (*MockExecutionDataRPCClient) GetExecutionDataByBlockID ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) GetExecutionDataByBlockID(ctx context.Context, in *executiondata.GetExecutionDataByBlockIDRequest, opts ...grpc.CallOption) (*executiondata.GetExecutionDataByBlockIDResponse, error)
GetExecutionDataByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) GetRegisterValues ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) GetRegisterValues(ctx context.Context, in *executiondata.GetRegisterValuesRequest, opts ...grpc.CallOption) (*executiondata.GetRegisterValuesResponse, error)
GetRegisterValues provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeAccountStatusesFromLatestBlock ¶ added in v1.0.0
func (_m *MockExecutionDataRPCClient) SubscribeAccountStatusesFromLatestBlock(ctx context.Context, in *executiondata.SubscribeAccountStatusesFromLatestBlockRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeAccountStatusesFromLatestBlockClient, error)
SubscribeAccountStatusesFromLatestBlock provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartBlockID ¶ added in v1.0.0
func (_m *MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartBlockID(ctx context.Context, in *executiondata.SubscribeAccountStatusesFromStartBlockIDRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeAccountStatusesFromStartBlockIDClient, error)
SubscribeAccountStatusesFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartHeight ¶ added in v1.0.0
func (_m *MockExecutionDataRPCClient) SubscribeAccountStatusesFromStartHeight(ctx context.Context, in *executiondata.SubscribeAccountStatusesFromStartHeightRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeAccountStatusesFromStartHeightClient, error)
SubscribeAccountStatusesFromStartHeight provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeEvents ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) SubscribeEvents(ctx context.Context, in *executiondata.SubscribeEventsRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeEventsClient, error)
SubscribeEvents provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeEventsFromLatest ¶ added in v1.0.0
func (_m *MockExecutionDataRPCClient) SubscribeEventsFromLatest(ctx context.Context, in *executiondata.SubscribeEventsFromLatestRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeEventsFromLatestClient, error)
SubscribeEventsFromLatest provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeEventsFromStartBlockID ¶ added in v1.0.0
func (_m *MockExecutionDataRPCClient) SubscribeEventsFromStartBlockID(ctx context.Context, in *executiondata.SubscribeEventsFromStartBlockIDRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeEventsFromStartBlockIDClient, error)
SubscribeEventsFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeEventsFromStartHeight ¶ added in v1.0.0
func (_m *MockExecutionDataRPCClient) SubscribeEventsFromStartHeight(ctx context.Context, in *executiondata.SubscribeEventsFromStartHeightRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeEventsFromStartHeightClient, error)
SubscribeEventsFromStartHeight provides a mock function with given fields: ctx, in, opts
func (*MockExecutionDataRPCClient) SubscribeExecutionData ¶ added in v0.41.19
func (_m *MockExecutionDataRPCClient) SubscribeExecutionData(ctx context.Context, in *executiondata.SubscribeExecutionDataRequest, opts ...grpc.CallOption) (executiondata.ExecutionDataAPI_SubscribeExecutionDataClient, error)
SubscribeExecutionData provides a mock function with given fields: ctx, in, opts
type MockRPCClient ¶
MockRPCClient is an autogenerated mock type for the RPCClient type
func (*MockRPCClient) ExecuteScriptAtBlockHeight ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) ExecuteScriptAtBlockID ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) ExecuteScriptAtLatestBlock ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetAccount ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetAccountAtBlockHeight ¶
func (_m *MockRPCClient) GetAccountAtBlockHeight(ctx context.Context, in *access.GetAccountAtBlockHeightRequest, opts ...grpc.CallOption) (*access.AccountResponse, error)
GetAccountAtBlockHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetAccountAtLatestBlock ¶
func (_m *MockRPCClient) GetAccountAtLatestBlock(ctx context.Context, in *access.GetAccountAtLatestBlockRequest, opts ...grpc.CallOption) (*access.AccountResponse, error)
GetAccountAtLatestBlock provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetBlockByHeight ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetBlockByID ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetBlockHeaderByHeight ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetBlockHeaderByID ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetCollectionByID ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetEventsForBlockIDs ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetEventsForHeightRange ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetExecutionResultByID ¶
func (_m *MockRPCClient) GetExecutionResultByID(ctx context.Context, in *access.GetExecutionResultByIDRequest, opts ...grpc.CallOption) (*access.ExecutionResultByIDResponse, error)
GetExecutionResultByID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetExecutionResultForBlockID ¶
func (_m *MockRPCClient) GetExecutionResultForBlockID(ctx context.Context, in *access.GetExecutionResultForBlockIDRequest, opts ...grpc.CallOption) (*access.ExecutionResultForBlockIDResponse, error)
GetExecutionResultForBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetLatestBlock ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetLatestBlockHeader ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetLatestProtocolStateSnapshot ¶
func (_m *MockRPCClient) GetLatestProtocolStateSnapshot(ctx context.Context, in *access.GetLatestProtocolStateSnapshotRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetLatestProtocolStateSnapshot provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetNetworkParameters ¶
func (_m *MockRPCClient) GetNetworkParameters(ctx context.Context, in *access.GetNetworkParametersRequest, opts ...grpc.CallOption) (*access.GetNetworkParametersResponse, error)
GetNetworkParameters provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetNodeVersionInfo ¶
func (_m *MockRPCClient) GetNodeVersionInfo(ctx context.Context, in *access.GetNodeVersionInfoRequest, opts ...grpc.CallOption) (*access.GetNodeVersionInfoResponse, error)
GetNodeVersionInfo provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetProtocolStateSnapshotByBlockID ¶ added in v0.41.19
func (_m *MockRPCClient) GetProtocolStateSnapshotByBlockID(ctx context.Context, in *access.GetProtocolStateSnapshotByBlockIDRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetProtocolStateSnapshotByHeight ¶ added in v0.41.19
func (_m *MockRPCClient) GetProtocolStateSnapshotByHeight(ctx context.Context, in *access.GetProtocolStateSnapshotByHeightRequest, opts ...grpc.CallOption) (*access.ProtocolStateSnapshotResponse, error)
GetProtocolStateSnapshotByHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetSystemTransaction ¶ added in v1.0.0
func (_m *MockRPCClient) GetSystemTransaction(ctx context.Context, in *access.GetSystemTransactionRequest, opts ...grpc.CallOption) (*access.TransactionResponse, error)
GetSystemTransaction provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetSystemTransactionResult ¶ added in v1.0.0
func (_m *MockRPCClient) GetSystemTransactionResult(ctx context.Context, in *access.GetSystemTransactionResultRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetSystemTransactionResult provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransaction ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetTransactionResult ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) GetTransactionResultByIndex ¶
func (_m *MockRPCClient) GetTransactionResultByIndex(ctx context.Context, in *access.GetTransactionByIndexRequest, opts ...grpc.CallOption) (*access.TransactionResultResponse, error)
GetTransactionResultByIndex provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransactionResultsByBlockID ¶
func (_m *MockRPCClient) GetTransactionResultsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*access.TransactionResultsResponse, error)
GetTransactionResultsByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) GetTransactionsByBlockID ¶
func (_m *MockRPCClient) GetTransactionsByBlockID(ctx context.Context, in *access.GetTransactionsByBlockIDRequest, opts ...grpc.CallOption) (*access.TransactionsResponse, error)
GetTransactionsByBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) Ping ¶
func (_m *MockRPCClient) 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 (*MockRPCClient) SendAndSubscribeTransactionStatuses ¶ added in v1.0.0
func (_m *MockRPCClient) SendAndSubscribeTransactionStatuses(ctx context.Context, in *access.SendAndSubscribeTransactionStatusesRequest, opts ...grpc.CallOption) (access.AccessAPI_SendAndSubscribeTransactionStatusesClient, error)
SendAndSubscribeTransactionStatuses provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SendTransaction ¶
func (_m *MockRPCClient) SendTransaction(ctx context.Context, in *access.SendTransactionRequest, opts ...grpc.CallOption) (*access.SendTransactionResponse, error)
SendTransaction provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlockDigestsFromLatest ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlockDigestsFromLatest(ctx context.Context, in *access.SubscribeBlockDigestsFromLatestRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockDigestsFromLatestClient, error)
SubscribeBlockDigestsFromLatest provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlockDigestsFromStartBlockID ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlockDigestsFromStartBlockID(ctx context.Context, in *access.SubscribeBlockDigestsFromStartBlockIDRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockDigestsFromStartBlockIDClient, error)
SubscribeBlockDigestsFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlockDigestsFromStartHeight ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlockDigestsFromStartHeight(ctx context.Context, in *access.SubscribeBlockDigestsFromStartHeightRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockDigestsFromStartHeightClient, error)
SubscribeBlockDigestsFromStartHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlockHeadersFromLatest ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlockHeadersFromLatest(ctx context.Context, in *access.SubscribeBlockHeadersFromLatestRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockHeadersFromLatestClient, error)
SubscribeBlockHeadersFromLatest provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlockHeadersFromStartBlockID ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlockHeadersFromStartBlockID(ctx context.Context, in *access.SubscribeBlockHeadersFromStartBlockIDRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockHeadersFromStartBlockIDClient, error)
SubscribeBlockHeadersFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlockHeadersFromStartHeight ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlockHeadersFromStartHeight(ctx context.Context, in *access.SubscribeBlockHeadersFromStartHeightRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlockHeadersFromStartHeightClient, error)
SubscribeBlockHeadersFromStartHeight provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlocksFromLatest ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlocksFromLatest(ctx context.Context, in *access.SubscribeBlocksFromLatestRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlocksFromLatestClient, error)
SubscribeBlocksFromLatest provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlocksFromStartBlockID ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlocksFromStartBlockID(ctx context.Context, in *access.SubscribeBlocksFromStartBlockIDRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlocksFromStartBlockIDClient, error)
SubscribeBlocksFromStartBlockID provides a mock function with given fields: ctx, in, opts
func (*MockRPCClient) SubscribeBlocksFromStartHeight ¶ added in v1.0.0
func (_m *MockRPCClient) SubscribeBlocksFromStartHeight(ctx context.Context, in *access.SubscribeBlocksFromStartHeightRequest, opts ...grpc.CallOption) (access.AccessAPI_SubscribeBlocksFromStartHeightClient, error)
SubscribeBlocksFromStartHeight provides a mock function with given fields: ctx, in, opts