Skip to main content
GET
Get borrow market transaction context

Authorizations

x-api-key
string
header
required

Path Parameters

network
enum<string>
required

Canonical network slug

Available options:
mainnet,
optimism,
arbitrum,
polygon,
gnosis,
base,
unichain,
swellchain,
celo,
worldchain,
berachain,
ink,
bsc,
hyperliquid,
plasma,
avalanche,
katana,
linea,
mega-eth,
monad,
etherlink,
robinhood
marketId
string
required

Canonical market identifier

Minimum string length: 1
userAddress
string
required

Address of the user whose borrow market transactions context is requested

Pattern: ^0x[a-fA-F0-9]{40}$
assetId
string
required

Market asset identifier

Minimum string length: 1

Response

Default Response

marketId
string
required
name
string
required
network
object
required
protocol
object
required
currentSupplyStep
enum<string>
required
Available options:
supply,
withdraw,
borrow,
repay
supplySteps
object[]
required
currentWithdrawStep
enum<string>
required
Available options:
supply,
withdraw,
borrow,
repay
withdrawSteps
object[]
required
currentBorrowStep
enum<string>
required
Available options:
supply,
withdraw,
borrow,
repay
borrowSteps
object[]
required
currentRepayStep
enum<string>
required
Available options:
supply,
withdraw,
borrow,
repay
repaySteps
object[]
required
asset
object
required