useAccountSigners

Get all signers of account

Example

const {
data: accounts,
isLoading,
error,
} = useAccountSigners(contract);
function useAccountSigners(
contract: RequiredParam<SmartContract<BaseContract>>,
): UseQueryResult<Array<SignerWithPermissions>>;

Parameters

Instance of a SmartContract

Type

let contract: RequiredParam<SmartContract<BaseContract>>;

Returns

let returnType: UseQueryResult<Array<SignerWithPermissions>>;

hook's data property contains an array of all signers