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
Account address. Example: 0xb418bf09bb489255b148c82d9353cecde3871834
- application/json
Body
required
Request body
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
.
Optional, searching for the exact block.
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.
Possible values: <= 200
Possible values: <= 10000
Possible values: [cursor
, offset
]
If pagingStyle
is not cursor
, then it's offset
.
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
Array [
]
]
Array [
]
Array [
]
]
items
object[]
details
object
approvals
object[]
token
object
contract
object
proxyTo
object
orders
object[]
assets
object[]
address
object
paymentToken
object
receives
object[]
token
object
sends
object[]
token
object
paging
object
{
"items": [
{
"activity": "string",
"address": [
0
],
"blockNumber": 0,
"blockTime": "string",
"details": {
"approvals": [
{
"amount": "string",
"isAll": true,
"owner": [
0
],
"spender": [
0
],
"token": {
"contractAddress": "string",
"decimals": 0,
"name": "string",
"standard": "string",
"symbol": "string"
},
"tokenId": "string"
}
],
"contract": {
"address": "string",
"createdAtBlock": 0,
"createdAtBlockHash": "string",
"createdAtBlockTime": 0,
"createdAtTx": "string",
"creator": "string",
"name": "string",
"proxyTo": {
"address": "string",
"createdAtBlock": 0,
"createdAtBlockHash": "string",
"createdAtBlockTime": 0,
"createdAtTx": "string",
"creator": "string",
"name": "string",
"proxyVersion": 0,
"standard": "string",
"symbol": "string",
"verifiedName": "string",
"verifiedStandard": "string",
"verifiedSymbol": "string"
},
"proxyVersion": 0,
"standard": "string",
"symbol": "string",
"verifiedName": "string",
"verifiedStandard": "string",
"verifiedSymbol": "string"
},
"orders": [
{
"assets": [
{
"address": {
"contractAddress": "string",
"decimals": 0,
"name": "string",
"standard": "string",
"symbol": "string"
},
"amount": "string",
"tokenId": "string",
"tokenStandard": "string"
}
],
"maker": [
0
],
"paymentToken": {
"contractAddress": "string",
"decimals": 0,
"name": "string",
"standard": "string",
"symbol": "string"
},
"price": "string",
"taker": [
0
]
}
],
"receives": [
{
"amount": "string",
"from": [
0
],
"to": [
0
],
"token": {
"contractAddress": "string",
"decimals": 0,
"name": "string",
"standard": "string",
"symbol": "string"
},
"tokenId": "string"
}
],
"sends": [
{
"amount": "string",
"from": [
0
],
"to": [
0
],
"token": {
"contractAddress": "string",
"decimals": 0,
"name": "string",
"standard": "string",
"symbol": "string"
},
"tokenId": "string"
}
]
},
"txHash": [
0
],
"txIndex": 0
}
],
"paging": {
"nextCursor": "string",
"total": 0
}
}
Invalid parameter
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 0,
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 0,
"message": "string"
}