Onchain API
Get an on chain ID Registry Event for a given Address
Get Started
- Quickstart
- Frameworks
- LLM Docs
Account Management
Files
Additional Resources
- Community SDKs
- IPFS 101
- Farcaster
- Introduction
- Hubs
- Hub API Reference
- Info
- Casts
- Reactions
- Links
- User Data
- Username Proofs
- Verifications
- FIDs
- Storage
- Onchain API
Onchain API
Get an on chain ID Registry Event for a given Address
GET
/
v1
/
onChainIdRegistryEventByAddress
curl --request GET \
--url https://hub.pinata.cloud/v1/onChainIdRegistryEventByAddress
{
"type": "EVENT_TYPE_SIGNER",
"chainId": 123,
"blockNumber": 123,
"blockHash": "0x75fbbb8b2a4ede67ac350e1b0503c6a152c0091bd8e3ef4a6927d58e088eae28",
"blockTimestamp": 123,
"transactionHash": "0x36ef79e6c460e6ae251908be13116ff0065960adb1ae032b4cc65a8352f28952",
"logIndex": 123,
"txIndex": 123,
"fid": 123,
"idRegisterEventBody": {
"to": "<string>",
"eventType": "ID_REGISTER_EVENT_TYPE_REGISTER",
"from": "0x",
"recoveryAddress": "0x00000000fcd5a8e45785c8a4b9a718c9348e4f18"
}
}
Query Parameters
The ETH address being requested
Response
200
application/json
A successful response.
The response is of type object
.
curl --request GET \
--url https://hub.pinata.cloud/v1/onChainIdRegistryEventByAddress
{
"type": "EVENT_TYPE_SIGNER",
"chainId": 123,
"blockNumber": 123,
"blockHash": "0x75fbbb8b2a4ede67ac350e1b0503c6a152c0091bd8e3ef4a6927d58e088eae28",
"blockTimestamp": 123,
"transactionHash": "0x36ef79e6c460e6ae251908be13116ff0065960adb1ae032b4cc65a8352f28952",
"logIndex": 123,
"txIndex": 123,
"fid": 123,
"idRegisterEventBody": {
"to": "<string>",
"eventType": "ID_REGISTER_EVENT_TYPE_REGISTER",
"from": "0x",
"recoveryAddress": "0x00000000fcd5a8e45785c8a4b9a718c9348e4f18"
}
}