getTransaction
A builder function that returns the interaction to get a transaction by ID
Import
You can import the entire package and access the function:
_10import * as fcl from "@onflow/fcl"_10_10fcl.getTransaction(id)
Or import directly the specific function:
_10import { getTransaction } from "@onflow/fcl"_10_10getTransaction(id)
Parameters
id
- Type:
string
- Description: The ID of the transaction to get
Returns
_10export type InteractionBuilderFn = (_10 ix: Interaction_10) => Interaction | Promise<Interaction>
A function that processes an interaction object