portal.1inch.dev Open in urlscan Pro
2606:4700:4400::6812:269a  Public Scan

URL: https://portal.1inch.dev/documentation/history/swagger?method=get&path=%2fv2.0%2fhistory%2f%7baddress%7d%2fevents
Submission: On January 13 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Docs
Support Docs Sign In
Sign In
Authentication

Swap API


Orderbook API


Fusion API


History API

Introduction

Swagger

GET
Returns history events for address

Traces API


Portfolio API


Balance API


Gas Price API


Spot Price API


Token API


NFT API


Transaction Gateway API


Articles

Articles
Authentication

Swap API


Orderbook API


Fusion API


History API

Introduction

Swagger

GET
Returns history events for address

Traces API


Portfolio API


Balance API


Gas Price API


Spot Price API


Token API


NFT API


Transaction Gateway API





WE COULDN'T FIND ANY ARTICLES FOR:

Search again using another term.


SWAGGER




TRANSACTION HISTORY

GET
https://api.1inch.dev/history/v2.0/history/{address}/events
Returns history events for address

Network
Ethereum
[object Object]

Parameters
address
string
*
(path)
Account address
Example: 0x266E77cE9034a023056ea2845CB6A20517F6FDB7

limit
number
(query)
Amount of events to return, default is 100, max is 10000
Example: 100

tokenAddress
string
(query)
Token address used at event

chainId
number
(query)
chainId
Example: 1
1

toTimestampMs
string
(query)
To time at milliseconds
Example: 1695283931212

fromTimestampMs
string
(query)
From time at milliseconds
Example: 1694754179096

Response
Code:
200

Schema:

array
itemsHistoryResponseDto object
items* array
itemsHistoryEventDto object
id* string
address* string

type* string (Enum)
Transaction
LimitOrder
FusionSwap

rating* string (Enum)
Reliable
Scam
timeMs* number

details*TransactionDetailsDto object
orderInBlock* number
txHash* string

chainId* number (Enum)
1
45
137
10
56
42161
43114
100
250
1313161554
8217
324
8453
blockNumber* number
blockTimeSec* number
status* string

type* string (Enum)
Approve
Wrap
Unwrap
Transfer
SwapExactInput
SwapExactOutput
LimitOrderFill
LimitOrderCancel
LimitOrderCancelAll
Multicall
AddLiquidity
RemoveLiquidity
Borrow
Repay
Stake
Unstake
Vote
DelegateVotePower
UnDelegateVotePower
DiscardVote
DeployPool
Claim
AbiDecoded
TraceDecoded
Action
Bridge
BuyNft
BidNft
OfferSellNft
Burn
WrappedTx
RegisterENSDomain
Revoke
CreateSafe
AddOwner

tokenActions* array
itemsTokenActionDto object
address* string
standard* string
fromAddress* string
toAddress* string
tokenId object
amount object

direction* string (Enum)
In
Out
Self
On
fromAddress* string
toAddress* string
nonce* number
feeInWei* string

metaTransactionDetailsMetaDto object
is1inchFusionSwap object
orderFillPercentage object
ensDomainName object
fromChainId object
toChainId object
safeAddress object
protocol object
cache_counter* number
Code:
400
Bad Request.
Code:
401
Unauthorized.
Code:
500
Internal server error.
Authorization - API KEY
API KEY




SIGN IN FOR AUTOMATIC API KEY AUTHENTICATION.

Try it

NodeJS Python cURL Go
const axios = require("axios");

async function httpCall() {

  const url = "https://api.1inch.dev/history/v2.0/history/{address}/events";

  const config = {
      headers: undefined,
      params: {}
  };
      

  try {
    const response = await axios.get(url, config);
    console.log(response.data);
  } catch (error) {
    console.error(error);
  }
}




Response
Click the try-it button to test your API call and see the real-time response
right here.
Previous
Introduction
Next
Introduction
© 2024 1inch Limited
Terms of ServicePrivacy Policy

We use cookies to ensure that we give you the best experience on our website.For
more info read Privacy Policy
I agree
Decline