Flow.Net
Show / Hide Table of Contents

Class FlowGrpcConverter

Inheritance
Object
FlowGrpcConverter
Namespace: Flow.Net.Sdk.Client.Grpc
Assembly: Flow.Net.Sdk.Client.Grpc.dll
Syntax
public static class FlowGrpcConverter

Methods

| Improve this Doc View Source

FromFlowScript(FlowScript)

Declaration
public static ExecuteScriptAtLatestBlockRequest FromFlowScript(this FlowScript script)
Parameters
Type Name Description
FlowScript script
Returns
Type Description
ExecuteScriptAtLatestBlockRequest
| Improve this Doc View Source

FromFlowScript(FlowScript, String)

Declaration
public static ExecuteScriptAtBlockIDRequest FromFlowScript(this FlowScript script, string blockId)
Parameters
Type Name Description
FlowScript script
String blockId
Returns
Type Description
ExecuteScriptAtBlockIDRequest
| Improve this Doc View Source

FromFlowScript(FlowScript, UInt64)

Declaration
public static ExecuteScriptAtBlockHeightRequest FromFlowScript(this FlowScript script, ulong blockHeight)
Parameters
Type Name Description
FlowScript script
UInt64 blockHeight
Returns
Type Description
ExecuteScriptAtBlockHeightRequest
| Improve this Doc View Source

FromFlowTransaction(FlowTransaction)

Declaration
public static Transaction FromFlowTransaction(this FlowTransaction flowTransaction)
Parameters
Type Name Description
FlowTransaction flowTransaction
Returns
Type Description
Transaction
| Improve this Doc View Source

ToFlowAccount(AccountResponse)

Declaration
public static FlowAccount ToFlowAccount(this AccountResponse accountResponse)
Parameters
Type Name Description
AccountResponse accountResponse
Returns
Type Description
FlowAccount
| Improve this Doc View Source

ToFlowBlock(BlockResponse)

Declaration
public static FlowBlock ToFlowBlock(this BlockResponse blockResponse)
Parameters
Type Name Description
BlockResponse blockResponse
Returns
Type Description
FlowBlock
| Improve this Doc View Source

ToFlowBlockEvents(EventsResponse)

Declaration
public static IEnumerable<FlowBlockEvent> ToFlowBlockEvents(this EventsResponse eventsResponse)
Parameters
Type Name Description
EventsResponse eventsResponse
Returns
Type Description
IEnumerable<FlowBlockEvent>
| Improve this Doc View Source

ToFlowBlockHeader(BlockHeaderResponse)

Declaration
public static FlowBlockHeader ToFlowBlockHeader(this BlockHeaderResponse blockHeaderResponse)
Parameters
Type Name Description
BlockHeaderResponse blockHeaderResponse
Returns
Type Description
FlowBlockHeader
| Improve this Doc View Source

ToFlowCollection(CollectionResponse)

Declaration
public static FlowCollection ToFlowCollection(this CollectionResponse collectionResponse)
Parameters
Type Name Description
CollectionResponse collectionResponse
Returns
Type Description
FlowCollection
| Improve this Doc View Source

ToFlowExecutionResult(ExecutionResultForBlockIDResponse)

Declaration
public static FlowExecutionResult ToFlowExecutionResult(this ExecutionResultForBlockIDResponse executionResultForBlockIdResponse)
Parameters
Type Name Description
ExecutionResultForBlockIDResponse executionResultForBlockIdResponse
Returns
Type Description
FlowExecutionResult
| Improve this Doc View Source

ToFlowGetNetworkParametersResponse(GetNetworkParametersResponse)

Declaration
public static FlowNetworkParameters ToFlowGetNetworkParametersResponse(this GetNetworkParametersResponse getNetworkParametersResponse)
Parameters
Type Name Description
GetNetworkParametersResponse getNetworkParametersResponse
Returns
Type Description
FlowNetworkParameters
| Improve this Doc View Source

ToFlowProtocolStateSnapshotResponse(ProtocolStateSnapshotResponse)

Declaration
public static FlowProtocolStateSnapshot ToFlowProtocolStateSnapshotResponse(this ProtocolStateSnapshotResponse protocolStateSnapshotResponse)
Parameters
Type Name Description
ProtocolStateSnapshotResponse protocolStateSnapshotResponse
Returns
Type Description
FlowProtocolStateSnapshot
| Improve this Doc View Source

ToFlowTransaction(Transaction)

Declaration
public static FlowTransaction ToFlowTransaction(this Transaction transaction)
Parameters
Type Name Description
Transaction transaction
Returns
Type Description
FlowTransaction
| Improve this Doc View Source

ToFlowTransactionId(SendTransactionResponse)

Declaration
public static FlowTransactionId ToFlowTransactionId(this SendTransactionResponse sendTransactionResponse)
Parameters
Type Name Description
SendTransactionResponse sendTransactionResponse
Returns
Type Description
FlowTransactionId
| Improve this Doc View Source

ToFlowTransactionResponse(TransactionResponse)

Declaration
public static FlowTransactionResponse ToFlowTransactionResponse(this TransactionResponse transactionResponse)
Parameters
Type Name Description
TransactionResponse transactionResponse
Returns
Type Description
FlowTransactionResponse
| Improve this Doc View Source

ToFlowTransactionResult(TransactionResultResponse)

Declaration
public static FlowTransactionResult ToFlowTransactionResult(this TransactionResultResponse transactionResultResponse)
Parameters
Type Name Description
TransactionResultResponse transactionResultResponse
Returns
Type Description
FlowTransactionResult
| Improve this Doc View Source

ToFlowTransactions(TransactionsResponse)

Declaration
public static IEnumerable<FlowTransaction> ToFlowTransactions(this TransactionsResponse transactions)
Parameters
Type Name Description
TransactionsResponse transactions
Returns
Type Description
IEnumerable<FlowTransaction>
| Improve this Doc View Source

ToFlowTransactionsResult(TransactionResultsResponse)

Declaration
public static IEnumerable<FlowTransactionResult> ToFlowTransactionsResult(this TransactionResultsResponse transactionResultsResponse)
Parameters
Type Name Description
TransactionResultsResponse transactionResultsResponse
Returns
Type Description
IEnumerable<FlowTransactionResult>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX