LogoLogo
  • Overview
  • Getting Started
  • 🔑How do I get my API Key?
  • 📑List of All Endpoints
  • ⚙️SDK
    • Overview
    • Getting Started
  • ⛓️INTEGRATIONS
    • ⚡Blockchains
      • EVM based blockchains
        • Ethereum
        • Binance Smart Chain
        • Avalanche - C
        • Avalanche - P
        • Avalanche - X
        • Polygon
        • Cronos
        • Arbitrum
        • Fantom
        • Optimism
        • Base
        • zkSync Era
        • Mantle
      • Non-EVM based chains
        • Tron
        • Solana
        • Near
        • Algorand
        • Aptos
        • Sui
        • Starknet
        • TON
        • Cosmos Hub
        • Osmosis
        • Stacks
        • Bitcoin
        • Stellar
          • Stellar RWA
        • XRP Ledger
          • XRP Ledger RWA
    • ⚡Bridges
      • Stargate
      • Stargate V2
      • Squid Router
      • Squid Router V2
      • Allbridge Classic
      • Allbridge Core
    • ⚡DEX & DEX Aggregators
      • Uniswap V2
      • Uniswap V3
      • Uniswap X
      • Sushiswap V2
      • PancakeSwap V2
      • PancakeSwap V3
      • Aerodrome
      • Camelot V3
      • Curve V2
      • Balancer V2
      • STON.fi
      • Trader Joe
      • Orca
      • Raydium
      • SDEX
      • Cetus
      • REF Finance
      • Liquidswap
      • Sologenic
      • Alex
      • 0x (Aggregator)
      • 1inch (Aggregator)
      • Kyberswap (Aggregator)
        • Kyberswap ( Limit Order Endpoints )
      • Jupiter (Aggregator)
    • ⚡Derivatives
      • dYdX V4
    • ⚡Fungible Tokens
      • ERC20
      • WETH
    • ⚡Lending Protocols
      • Aave V2
      • Aave V3
      • Compound V2
      • Compound V3
      • Morpho
    • ⚡Yield Aggregators
      • Yearn Finance V2
      • Harvest Finance
      • Pendle
    • ⚡Liquid Staking
      • Chorus One
      • Lido V2
      • Stader
      • Benqi
      • Jito
      • EigenLayer
    • ⚡Non Fungible Tokens
      • ERC721
      • ERC1155
      • Metaplex
    • ⚡Oracles
      • ChainLink
      • WinkLink
      • Pyth Network
      • RedStone
    • ⚡Stablecoins
      • EVM
    • ⚡Synthetics
      • Synthetix
    • ⚡Supported Wallets
      • MPC Wallets
        • DFNS
        • FORDEFI
        • FIREBLOCKS
        • CIRCLE
      • HD Wallets
        • PHANTOM
        • COINBASE
        • TON Wallet
      • Wallet Connect v2
  • How To
    • Execute a Local Swap
    • Execute a Cross Chain Swap
    • Use Limit Orders
    • Lend and Borrow
    • Provision Liquidity
      • Adding Liquidity
      • Removing liquidity
    • Yield Farm
    • Use Our Transaction Decoder
    • Submit an RFQ
    • Subscribe to Events
    • Stream Data (WebSocket)
      • Stream Transaction
      • Stream Trade
      • Stream Gas
      • Stream Ticker Price
    • Source Pricing
    • Track Memecoins
    • Manage Token Approvals
  • Use Cases
    • Trade Reconciliation
    • Portfolio Management
    • Trading Features
    • On-Chain Data: DEX Liquidity Pool Forensics
    • Transaction and Pool Analysis
  • Account Abstraction
    • Overview
      • User Endpoints
      • Paymaster Endpoint
      • Bundler Endpoint
    • ⚙️SDK - Overview
  • Additional Info
    • Error Messages
    • Client-Side Security Essentials
    • Compute Unit Costs
    • API Metadata
    • Audit Certificate
    • Brand Assets
    • FAQs
    • Quicknode Marketplace
      • DEX
      • Lending Protocols
  • ID's
    • Chain IDs
    • Bridge IDs
      • Internal Chain IDs for Bridges
    • DEX IDs
    • Lending Protocol IDs
    • Yield Aggregator ID
    • Liquid Staking IDs
    • Oracle IDs
    • Stablecoin IDs
    • Derivatives IDs
    • Synthetics IDs
  • Mapping
    • Blockchains
    • DEXs
      • Uniswap V2
      • Uniswap V3
      • Sushiswap
      • PancakeSwap
      • Curve
      • Balancer
    • Lending Protocols
      • Aave
      • Compound
  • Protocol Spender
    • Spender list
Powered by GitBook
On this page
  • /getassetinfo
  • /getpool
  • /getuseraccountdata
  • /getuserpositions
  • /getclaimedrewards
  • /getmaxamounts
  • /getgovernordata
  • /allow
  • /borrow
  • /claimrewards
  • /deposit
  • /repay
  • /transfer
  • /withdraw
  • /bundleactions
  1. INTEGRATIONS
  2. Lending Protocols

Compound V3

/getassetinfo

Get the details of a specified asset like liquidation and borrow collateral factor, index and the price feed address.

GET https://api.expand.network/lendborrow/getassetinfo

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

asset*

String

Token's address to get the details of.

market

String

USDC, WETH standard choice.

by default it is USDC.

https://api.expand.network/lendborrow/getassetinfo?lendborrowId=1300&asset=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
{
    "status": 200,
    "msg": "success",
    "data": {
        "index": "3",
        "priceFeedAddress": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
        "borrowCollateralFactor": "75",
        "liquidateCollateralFactor": "81",
        "liquidationFactor": "15"
    }
}

/getpool

Get the lend and borrow APY for the given pool from the given protocol.

GET https://api.expand.network/lendborrow/getpool

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

market

String

USDC, WETH standard choice.

by default it is USDC.

asset

String

The asset value equals the market value, with USDC as default if market value is not provided; users can pass 'asset' as both key and value.

https://api.expand.network/lendborrow/getpool?address=0x6Fb447Ae94F5180254D436A693907a1f57696900&lendborrowId=1300&asset=asset
{
    "status": 200,
    "msg": "success",
    "data": {
        "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
        "poolAddress": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "stableBorrowRate": "0",
        "variableBorrowRate": "8.549999999999999",
        "stableSupplyRate": "0",
        "variableSupplyRate": "7.24",
        "ltv": [
            {
                "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2": "82.5"
            },
            {
                "0xc00e94Cb662C3520282E6f5717214004A7f26888": "65"
            },
            {
                "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599": "80"
            },
            {
                "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984": "73"
            },
            {
                "0x514910771AF9Ca656af840dff83E8264EcF986CA": "79"
            }
        ],
        "availableLiquidity": "61190692434383",
        "reserveSize": "7980795578011"
    }
}

/getuseraccountdata

Get the repay, borrow, withdraw amount and health factor details for the given user.

GET https://api.expand.network/lendborrow/getuseraccountdata

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendborrowId*

String

address*

String

Public address of sender.

market

String

USDC, WETH standard choice.

by default it is USDC.

asset

String

The asset value equals the market value, with USDC as default if market value is not provided; users can pass 'asset' as both key and value.

https://api.expand.network/lendborrow/getuseraccountdata?address=0x6Fb447Ae94F5180254D436A693907a1f57696900&market=WETH&lendborrowId=1300&asset=WETH
{
    "status": 200,
    "msg": "success",
    "data": {
        "tokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
        "repayAmount": "0",
        "borrowAmount": "0",
        "healthFactor": "0"
    }
}

/getuserpositions

Retrieves the lending and borrowing positions of a user, including details such as token balances and collateral usage status.

GET https://api.expand.network/lendborrow/getuserpositions

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

address*

String

Public address of sender.

lendborrowId*

String

https://api.expand.network/lendborrow/getuserpositions?address=0x5Fb0A30278C1b6Ee4681A48F2A23bd84c2762835&lendborrowId=1300
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
            "baseTokenBalance": "1526195483",
            "underlyingAsset": [
                "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
                "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
                "0xc00e94Cb662C3520282E6f5717214004A7f26888",
                "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
                "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
                "0x514910771AF9Ca656af840dff83E8264EcF986CA"
            ],
            "usageAsCollateralEnabledOnUser": true
        }
    ]
}

/getclaimedrewards

Get the rewards claimed by the specified account on the protocol.

GET https://api.expand.network/lendborrow/getclaimedrewards

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

address*

String

Public address of sender.

market

String

USDC, WETH standard choice.

by default it is USDC.

https://api.expand.network/lendborrow/getclaimedrewards?lendborrowId=1300&address=0xEa70DBf1F353C53254Cf7d76B0791c03E258f629
{
    "status": 200,
    "msg": "success",
    "data": {
        "rewardAccured": "249597000000000000"
    }
}

/getmaxamounts

Get the max withdrawable amount and the max borrowable amount of the base token for a given asset in the protocol for the specified account.

GET https://api.expand.network/lendborrow/getmaxamounts

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

address*

String

Public address of sender.

asset*

String

Token's address to get the details of.

market

String

USDC, WETH standard choice.

by default it is USDC.

https://api.expand.network/lendborrow/getmaxamounts?address=0xEa70DBf1F353C53254Cf7d76B0791c03E258f629&lendborrowId=1300&asset=0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599&market=USDC
{
    "status": 200,
    "msg": "success",
    "data": {
        "maxWithdrawalAmount": "0.0183",
        "maxBorrowableAmount": "52.9195"
    }
}

/getgovernordata

Get the protocol and governor-related data for a market.

GET https://api.expand.network/lendborrow/getgovernordata

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

market

String

USDC, WETH standard choice.

by default it is USDC.

https://api.expand.network/lendborrow/getgovernordata?lendborrowId=1300&market=WETH
{
    "status": 200,
    "msg": "success",
    "data": {
        "isSupplyPaused": false,
        "isTransferPaused": false,
        "isWithdrawPaused": false,
        "isAbsorbPaused": false,
        "isBuyPaused": false,
        "cometConfiguration": {
            "governor": "0x6d903f6003cca6255D85CcA4D3B5E5146dC33925",
            "pauseGuardian": "0xbbf3f1421D886E9b2c5D716B5192aC998af2012c",
            "baseToken": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
            "baseTokenPriceFeed": "0xD72ac1bCE9177CFe7aEb5d0516a38c88a64cE0AB",
            "extensionDelegate": "0xe2C1F54aFF6b38fD9DF7a69F22cB5fd3ba09F030",
            "supplyKink": "900000000000000000",
            "supplyPerYearInterestRateSlopeLow": "23000000000000000",
            "supplyPerYearInterestRateSlopeHigh": "1000000000000000000",
            "supplyPerYearInterestRateBase": "0",
            "borrowKink": "900000000000000000",
            "borrowPerYearInterestRateSlopeLow": "30000000000000000",
            "borrowPerYearInterestRateSlopeHigh": "1000000000000000000",
            "borrowPerYearInterestRateBase": "5000000000000000",
            "storeFrontPriceFactor": "1000000000000000000",
            "trackingIndexScale": "1000000000000000",
            "baseTrackingSupplySpeed": "810185185185",
            "baseTrackingBorrowSpeed": "0",
            "baseMinForRewards": "1000000000000000000000",
            "baseBorrowMin": "100000000000000000",
            "targetReserves": "5000000000000000000000",
            "assetConfigs": [
                [
                    "0xBe9895146f7AF43049ca1c1AE358B0541Ea49704",
                    "0x23a982b74a3236A5F2297856d4391B2edBBB5549",
                    "18",
                    "900000000000000000",
                    "930000000000000000",
                    "975000000000000000",
                    "40000000000000000000000"
                ],
                [
                    "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
                    "0x4F67e4d9BD67eFa28236013288737D39AeF48e79",
                    "18",
                    "900000000000000000",
                    "930000000000000000",
                    "975000000000000000",
                    "64500000000000000000000"
                ],
                [
                    "0xae78736Cd615f374D3085123A210448E74Fc6393",
                    "0xA3A7fB5963D1d69B95EEC4957f77678EF073Ba08",
                    "18",
                    "900000000000000000",
                    "930000000000000000",
                    "975000000000000000",
                    "30000000000000000000000"
                ]
            ]
        }
    }
}

/allow

Trigger a transaction to allow or disallow the specified address to withdraw or transfer on behalf of the sender’s address.

POST https://api.expand.network/lendborrow/allow

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

manager*

String

The address of the account that can have manager permissions over another.

isAllowed*

Boolean

"true" to add the manager and "false" to remove the manager. By default, true

from*

String

Public address of sender

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "lendborrowId": "1300",
    "isAllowed": "true",
    "manager": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0x110496e5000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000000000000000000000000000000000000000000001",
        "referenceId": "3b91be949bb74695979ab5dcaf494f98"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "isAllowed": "true",
    "manager": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0x110496e5000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000000000000000000000000000000000000000000001",
        "gasPrice": "6031100976",
        "referenceId": "3c6681a1a224494481c9b2189782a997"
    }
}

/borrow

Trigger a transaction to borrow the base token from the specified market.

POST https://api.expand.network/lendborrow/borrow

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

amount*

String

Number of tokens to be borrowed.

from*

String

Public address of sender.

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0xf3fef3a3000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000f4240",
        "referenceId": "0b8ce656657c4021813c5a828619d779"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0xf3fef3a3000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000f4240",
        "gasPrice": "6745897410",
        "referenceId": "70e80092e1d2435e9430f87d93a37293"
    }
}

With ofacCheck:

{
    "lendborrowId": "1300",
    "isAllowed": "true",
    "manager": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "low",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/claimrewards

Trigger a transaction to allow an account to claim rewards from the protocol.

POST https://api.expand.network/lendborrow/claimrewards

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

from*

String

Public address of sender

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "lendborrowId": "1300",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "5300000"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0x1B0e765F6224C21223AeA2af16c1C46E38885a40",
        "value": "0",
        "gas": "5300000",
        "data": "0xb7034f7e000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f576969000000000000000000000000000000000000000000000000000000000000000001",
        "referenceId": "782d9a6145af46d8b80a844263817758"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "5300000",
    "gasPriority": "low"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0x1B0e765F6224C21223AeA2af16c1C46E38885a40",
        "value": "0",
        "gas": "5300000",
        "data": "0xb7034f7e000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f576969000000000000000000000000000000000000000000000000000000000000000001",
        "gasPrice": "4491448445",
        "referenceId": "8280c4c76b3245449312bc56d97a0b34"
    }
}

With ofacCheck:

{
    "lendborrowId": "1300",
    "isAllowed": "true",
    "manager": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "low",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/deposit

Trigger a transaction to deposit an asset to the protocol and update it to the account’s balance.

POST https://api.expand.network/lendborrow/deposit

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

from*

String

Public address of sender.

asset*

String

Token's address to get the details of.

amount*

String

Number of tokens to be borrowed.

to

String

Public address of receiver.

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xa397a8C2086C554B531c02E29f3291c9704B00c7",
        "value": "1000000",
        "gas": "50000",
        "data": "0x555029a6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001414354494f4e5f535550504c595f4e41544956455f544f4b454e000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240",
        "referenceId": "5104c6aa8a3b4cd5bb60282effd96b65"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high",
    "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xa397a8C2086C554B531c02E29f3291c9704B00c7",
        "value": "1000000",
        "gas": "50000",
        "data": "0x555029a6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001414354494f4e5f535550504c595f4e41544956455f544f4b454e000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240",
        "gasPrice": "6690028286",
        "referenceId": "c437034e580f4a35bd5ac3a4acf50afc"
    }
}

With ofacCheck:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high",
    "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/repay

Trigger a transaction to repay the borrowed amount of the base asset to the protocol.

POST https://api.expand.network/lendborrow/repay

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

from*

String

Public address of sender.

amount*

String

Number of tokens to be repayed.

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "market": "USDC"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0xf2b9fdb8000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000f4240",
        "referenceId": "fb90cb588722430db43be6b9dd0ef9d6"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high",
    "market": "USDC"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0xf2b9fdb8000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000f4240",
        "gasPrice": "7307789555",
        "referenceId": "0f35c1586ed64a30b960eb764683a2f6"
    }
}

With ofacCheck:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high",
    "market": "USDC",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/transfer

Trigger a transaction to transfer an asset, within the protocol, to another account.

POST https://api.expand.network/lendborrow/transfer

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

from*

String

Public address of sender.

asset*

String

Address of token to be transferred.

to*

String

Public address of receiver.

amount*

String

Number of tokens to be repayed.

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "to": "0x6Fb447Ae94F5180254D436A693907a1f57696900"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0xa9059cbb0000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240",
        "referenceId": "327ae3106cf149dd98cd060db515a4ef"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high",
    "to": "0x6Fb447Ae94F5180254D436A693907a1f57696900"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
        "value": "0",
        "gas": "50000",
        "data": "0xa9059cbb0000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240",
        "gasPrice": "7490076791",
        "referenceId": "c2e002083b7f4089ab8011d056a3e411"
    }
}

With ofacCheck:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high",
    "to": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/withdraw

Trigger the withdrawal transaction from the given protocol.

POST https://api.expand.network/lendborrow/withdraw

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

from*

String

Public address of sender.

asset*

String

Address of token to be transferred.

to

String

Public address of receiver.

amount*

String

Number of tokens to withdraw.

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xa397a8C2086C554B531c02E29f3291c9704B00c7",
        "value": "0",
        "gas": "50000",
        "data": "0x555029a6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001414354494f4e5f57495448445241575f4e41544956455f544f4b454e00000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240",
        "referenceId": "4a044a15bfe24ce1b47de1a9704a3539"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "high",
    "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xa397a8C2086C554B531c02E29f3291c9704B00c7",
        "value": "0",
        "gas": "50000",
        "data": "0x555029a6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001414354494f4e5f57495448445241575f4e41544956455f544f4b454e00000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000f4240",
        "gasPrice": "7996150754",
        "referenceId": "ce1d399841c44214a9aaf86496ba085c"
    }
}

With ofacCheck:

{
    "lendborrowId": "1300",
    "amount": "1000000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/bundleactions

Trigger a transaction, to pass an array of action codes and calldatas that are executed, one by one, in a single transaction.

POST https://api.expand.network/lendborrow/bundleactions

Body Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

lendBorrowId*

String

actions*

Array

data*

Array

from*

String

Public address of sender.

gas*

String

Maximum gas to be approved for the transaction.

gasPriority

String

low, medium or high.

market

String

USDC, WETH standard choice.

by default it is USDC.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

Details for Actions and related data.

Actions

"ACTION_SUPPLY_ASSET"; // The action for supplying an asset to Comet
"ACTION_SUPPLY_NATIVE_TOKEN"; // The action for supplying a native asset (e.g. ETH on Ethereum mainnet) to Comet
"ACTION_TRANSFER_ASSET"; // The action for transferring an asset within Comet
"ACTION_WITHDRAW_ASSET"; // The action for withdrawing an asset from Comet
"ACTION_WITHDRAW_NATIVE_TOKEN"; // The action for withdrawing a native asset from Comet
"ACTION_CLAIM_REWARD"; // The action for claiming rewards from the Comet rewards contract
"ACTION_SUPPLY_STETH"; // The action for supplying STETH to Comet
"ACTION_WITHDRAW_STETH"; // The action for withdrawing STETH from Comet

Data

  • Supply Asset, Withdraw Asset, Transfer Asset

    • comet: The address of the Comet instance to interact with.

    • to: The destination address, within or external to the protocol.

    • asset: The address of the ERC-20 asset contract.

    • amount: The amount of the asset as an unsigned integer scaled up by 10 to the “decimals” integer in the asset’s contract.

  • Supply Native, Withdraw Native (native chain token like ETH on Ethereum Mainnet), Supply STETH, Withdraw STETH

    • comet: The address of the Comet instance to interact with.

    • to: The destination address, within or external to the protocol.

    • amount: The amount of the native token as an unsigned integer scaled up by 10 to the number of decimals of precision of the native EVM token.

  • Claim Reward

    • comet: The address of the Comet instance to interact with.

    • src: The account in which to claim rewards.

    • to: The account in which to transfer the claimed rewards.

    • shouldAccure: If true, the protocol will account for the rewards owed to the account as of the current block before transferring. Otherwise, false.

{
    "lendborrowId": "1300",
    "market": "USDC",
    "actions": [
        "ACTION_SUPPLY_NATIVE_TOKEN",
        "ACTION_SUPPLY_NATIVE_TOKEN"
    ],
    "data": [
        [
            "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
            "0x6Fb447Ae94F5180254D436A693907a1f57696900",
            "00000100000000"
        ],
        [
            "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
            "0x6Fb447Ae94F5180254D436A693907a1f57696900",
            "23000000"
        ]
    ],
    "gas": "500000",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xa397a8C2086C554B531c02E29f3291c9704B00c7",
        "value": "123000000",
        "gas": "500000",
        "data": "0x555029a6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002414354494f4e5f535550504c595f4e41544956455f544f4b454e000000000000414354494f4e5f535550504c595f4e41544956455f544f4b454e0000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f576969000000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000015ef3c0",
        "referenceId": "4fab595487904774a12c2555d9ba02a1"
    }
}

With gasPriority:

{
    "lendborrowId": "1300",
    "market": "USDC",
    "actions": [
        "ACTION_SUPPLY_NATIVE_TOKEN",
        "ACTION_SUPPLY_NATIVE_TOKEN"
    ],
    "data": [
        [
            "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
            "0x6Fb447Ae94F5180254D436A693907a1f57696900",
            "00000100000000"
        ],
        [
            "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
            "0x6Fb447Ae94F5180254D436A693907a1f57696900",
            "23000000"
        ]
    ],
    "gas": "500000",
    "gasPriority": "medium",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900"
}

With gasPriority:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
        "to": "0xa397a8C2086C554B531c02E29f3291c9704B00c7",
        "value": "123000000",
        "gas": "500000",
        "data": "0x555029a6000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002414354494f4e5f535550504c595f4e41544956455f544f4b454e000000000000414354494f4e5f535550504c595f4e41544956455f544f4b454e0000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f576969000000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000015ef3c0",
        "gasPrice": "6578394242",
        "referenceId": "1aa0ff5c351841ae9b7db2529ab94a06"
    }
}

With ofacCheck:

{
    "lendborrowId": "1300",
    "market": "USDC",
    "actions": [
        "ACTION_SUPPLY_NATIVE_TOKEN",
        "ACTION_SUPPLY_NATIVE_TOKEN"
    ],
    "data": [
        [
            "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
            "0x6Fb447Ae94F5180254D436A693907a1f57696900",
            "00000100000000"
        ],
        [
            "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
            "0x6Fb447Ae94F5180254D436A693907a1f57696900",
            "23000000"
        ]
    ],
    "gas": "500000",
    "gasPriority": "medium",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}
PreviousCompound V2NextMorpho

Last updated 2 months ago

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

An array of strings that correspond to the actions. Refer for details.

An array of calldatas for each action to be called in the invoke transaction. Refer for details.

⛓️
⚡
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
Lend and Borrow ID
here
here

With ofacCheck:

{
    "lendborrowId": "1300",
    "isAllowed": "true",
    "manager": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
    "from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
    "gas": "50000",
    "gasPriority": "low",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}