Skip to main content

Doc autogenerated from onflow/sdk/src/decode/decode.ts

decodeResponse

Import


_10
import { decodeResponse } from "@onflow/sdk"

Parameters

response

  • Type: FlowResponse

_21
interface FlowResponse {
_21
encodedData?: DecodeInstructions
_21
transactionStatus?: FlowTransactionStatus
_21
transaction?: any
_21
events?: FlowBlockEvent[]
_21
account?: any
_21
block?: any
_21
blockHeader?: any
_21
blockDigest?: any
_21
event?: any
_21
accountStatusEvent?: any
_21
latestBlock?: any
_21
transactionId?: string
_21
collection?: any
_21
networkParameters?: {
_21
chainId: string
_21
}
_21
streamConnection?: any
_21
heartbeat?: any
_21
nodeVersionInfo?: any
_21
}

customDecoders (optional)

  • Type: DecoderMap

_10
interface DecoderMap {
_10
[key: string]: DecoderFunction
_10
}

Returns

Promise<any>


Rate this page