Token History API

Download OpenAPI specification:Download

Introduction

Token History API allows you to query the transaction history of KAIA, FTs (KIP-7 and Labelled ERC-20), NFTs (KIP-17 and Labelled ERC-721), and MTs (KIP-37 and Labelled ERC-1155). You can track KLAY's transaction history or retrieve NFT-related data of a certain EOA.

For more details on using Token History API, please refer to the Tutorial.

For any inquiries on this document or KAS in general, please visit KAS Developer Forum.

Authentication

basic

KAS uses Basic HTTP Auth. All requests must contain a valid Authorization header. KAS user must use access key ID as username, and secret access key as password to create credentials for Basic Auth.

NOTE

The KAS account credentials grant access to all services of KAS and own all rights to the Kaia account created by Wallet API, which means they can execute value transfer of assets on the Kaia account (such as KAIA) or a Transaction execution. To keep your KAS/Kaia account secure, do not share your KAS API Secret Access Key with others and manage it safely.

cURL

curl --location --request GET 'https://th-api.klaytnapi.com/v2/contract/ft' \
-u ${your_accessKeyId}:${your_secretAccessKey} \
--header 'x-chain-id: 8217' \
--header 'Content-Type: application/json'
Security Scheme Type HTTP
HTTP Authorization Scheme basic