@azuro-org/sdk
Version:
One-stop solution for building betting dApps on the Azuro Protocol.
16 lines (15 loc) • 525 B
TypeScript
import { type UseQueryResult } from '@tanstack/react-query';
import { type ChainId } from '@azuro-org/toolkit';
import { type QueryParameter } from '../../global';
type UseBetFeeResult = {
gasAmount: bigint;
relayerFeeAmount: bigint;
formattedRelayerFeeAmount: string;
};
export type UseBetFeeProps = {
chainId?: ChainId;
query?: QueryParameter<UseBetFeeResult>;
};
export type UseBetFee = (props?: UseBetFeeProps) => UseQueryResult<UseBetFeeResult>;
export declare const useBetFee: UseBetFee;
export {};