Fees

Each Loopring L2 transaction requires a fee to be paid (L2 transactions are packed, batched, and submitted to Ethereum L1 which has a gas fee).

Pay Fee ERC20 Token :

  • Mainnet: ETH, LRC, USDT, USDC, DAI

  • GOERLI: ETH, LRC, USDT, DAI

Loopring has 2 get Fee APIs:

  • getOffchainFeeAmt:

    • ORDER,

    • OFFCHAIN_WITHDRAWAL,

    • UPDATE_ACCOUNT,

    • TRANSFER,

    • FAST_OFFCHAIN_WITHDRAWAL,

    • OPEN_ACCOUNT,

    • AMM_EXIT,

    • DEPOSIT,

    • AMM_JOIN,

  • getNFTOffchainFeeAmt:

    • NFT_MINT,

    • NFT_WITHDRAWAL,

    • NFT_TRANSFER,

    • NFT_DEPLOY,

Fee: updateAccount


Fee: transfer

Fee: withdraw


Fee: fastWithdraw


Fee: order

Fee: amm_exit

Fee: amm_join

Fee: NFTTransfer

Fee: NFTWithdrawal

getActiveFeeInfo without apikey & accountId

getActiveFeeInfo without apikey with accountId

Last updated

Was this helpful?