Skip to main content

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:


_10
import * as fcl from "@onflow/fcl-react-native"
_10
_10
fcl.getTransaction(id)

Or import directly the specific function:


_10
import { getTransaction } from "@onflow/fcl-react-native"
_10
_10
getTransaction(id)

Parameters

id

  • Type: string
  • Description: The ID of the transaction to get

Returns


_10
export type InteractionBuilderFn = (
_10
ix: Interaction
_10
) => Interaction | Promise<Interaction>

A function that processes an interaction object


Rate this page