Skip to main content

Get account activities on Ronin chain

POST 

/ronin/accounts/:address/activities

Get an account's activities on the Ronin chain (Transfers, Approvals, Mint, Burn, Marketplace, Swap, Deposit, Staking, Add/Remove Liquidity).

Request

Path Parameters

    address stringrequired

    Account address. Example: 0xb418bf09bb489255b148c82d9353cecde3871834

Body

required

Request body

    activityTypes string[]

    Possible values: [Transfer, RONTransfer, Approve, Withdraw, Deposit, Mint, Burn, Swap, Stake, ClaimRewards, Restake, StakeRewards, Unstake, KatanaSwap, KatanaAddLiquidity, KatanaRemoveLiquidity, ScatterDisperse, MarketplaceOrderMatched, MarketplaceOrderCancelled]

    Optional

    block

    object

    The default search is by blockHash. If blockHash doesn't appear, then search for blockRange. Max allowed blockRange is 200.

    blockHash string

    Optional, searching for the exact block.

    blockRange integer[]

    Optional, searching for blocks from from to to. If from equals to, then search exactly by block number.

    paging

    object

    Only offset or cursor need to be present.

    cursor string
    limit integer

    Possible values: <= 200

    offset integer

    Possible values: <= 10000

    pagingStyle string

    Possible values: [cursor, offset]

    If pagingStyle is not cursor, then it's offset.

Responses

OK

Schema

    items

    object[]

  • Array [

  • activity string
    address integer[]
    blockNumber integer
    blockTime string

    details

    object

    approvals

    object[]

  • Array [

  • amount string
    isAll boolean
    owner integer[]
    spender integer[]

    token

    object

    contractAddress string
    decimals integer
    name string
    standard string
    symbol string
    tokenId string
  • ]

  • contract

    object

    address string
    createdAtBlock integer
    createdAtBlockHash string
    createdAtBlockTime integer
    createdAtTx string
    creator string
    name string

    proxyTo

    object

    address string
    createdAtBlock integer
    createdAtBlockHash string
    createdAtBlockTime integer
    createdAtTx string
    creator string
    name string
    proxyVersion integer
    standard string
    symbol string
    verifiedName string
    verifiedStandard string
    verifiedSymbol string
    proxyVersion integer
    standard string
    symbol string
    verifiedName string
    verifiedStandard string
    verifiedSymbol string

    orders

    object[]

  • Array [

  • assets

    object[]

  • Array [

  • address

    object

    contractAddress string
    decimals integer
    name string
    standard string
    symbol string
    amount string
    tokenId string
    tokenStandard string
  • ]

  • maker integer[]

    paymentToken

    object

    contractAddress string
    decimals integer
    name string
    standard string
    symbol string
    price string
    taker integer[]
  • ]

  • receives

    object[]

  • Array [

  • amount string
    from integer[]
    to integer[]

    token

    object

    contractAddress string
    decimals integer
    name string
    standard string
    symbol string
    tokenId string
  • ]

  • sends

    object[]

  • Array [

  • amount string
    from integer[]
    to integer[]

    token

    object

    contractAddress string
    decimals integer
    name string
    standard string
    symbol string
    tokenId string
  • ]

  • txHash integer[]
    txIndex integer
  • ]

  • paging

    object

    nextCursor string
    total integer
Loading...