1 2 3 4 5 6 7 8 9
import { AssetBuyer } from '@0x/asset-buyer'; import { sraApiUrl } from '../constants'; import { getProvider } from './provider'; const provider = getProvider(); export const assetBuyer = AssetBuyer.getAssetBuyerForStandardRelayerAPIUrl(provider, sraApiUrl);