Skip to content

useSenderAddress

Hook for fetching the sender address

Import

import { useSenderAddress } from '@abstract-money/react'

Usage

index.tsx
import { useSenderAddress } from '@abstract-money/react'
 
function App() {
  const senderAddress = useSenderAddress({
    chainName: 'osmosis',
  })
}

Parameters

chainName

string | undefined

Name of the chain to be used to fetch the query.

query

QueryOptions | undefined

QueryOptions to use.