UNPKG

@multiversx/sdk-dapp-swap

Version:

A library to hold the main logic for swapping between tokens on the MultiversX blockchain

9 lines 584 B
import React from 'react'; import { SwapGraphQLAddressEnum, AuthorizationHeadersRequestParamsType } from 'types'; export declare const SwapAuthorizationProvider: ({ children, accessToken, graphQLAddress, getAuthorizationHeaders }: { accessToken?: string | undefined; children: React.ReactNode; graphQLAddress: SwapGraphQLAddressEnum | string; getAuthorizationHeaders?: ((requestParams: AuthorizationHeadersRequestParamsType) => Promise<void | null | Record<string, string>>) | undefined; }) => React.JSX.Element; //# sourceMappingURL=SwapAuthorizationProvider.d.ts.map