Function fetchMaybePosition
- fetchMaybePosition<TAddress extends string = string>(
rpc: Rpc<GetAccountInfoApi>,
address: Address<TAddress>,
config?: FetchAccountConfig,
): Promise<MaybeAccount<Position, TAddress>> Type Parameters
- TAddress extends string = string
Parameters
- rpc: Rpc<GetAccountInfoApi>
- address: Address<TAddress>
Optional
config: FetchAccountConfig
Returns Promise<MaybeAccount<Position, TAddress>>