useAccount
Get the account info for an address using the Solana RPC method of
getAccountInfo
Type Parameters
| Type Parameter | Default type |
|---|---|
TConfig extends { } | { } |
TAddress extends string | string |
TDecodedData extends object | Uint8Array<ArrayBufferLike> |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | UseAccountInput<TConfig, TAddress, TDecodedData> |
Returns
| {
account: UseAccountResponse<TAddress, TDecodedData>;
}
| {
account: UseAccountResponse<TAddress, TDecodedData>;
}
| {
account: UseAccountResponse<TAddress, TDecodedData>;
}
| {
account: UseAccountResponse<TAddress, TDecodedData>;
}
| {
account: UseAccountResponse<TAddress, TDecodedData>;
}