Skip to main content

sansPrefix

Removes 0x from address if present

Import

You can import the entire package and access the function:


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

Or import directly the specific function:


_10
import { sansPrefix } from "@onflow/fcl-react-native"
_10
_10
sansPrefix(address)

Parameters

address

  • Type: null
  • Description: - Flow address

Returns

null

Flow address without 0x prefix


Rate this page