NFT Wallets
post
https://api.nfty.dev
/v1/accounts
Create NFT Wallet

Example Request:

curl --request POST \
--url https://api.nfty.dev/v1/accounts \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer c4Vftx4kGiFYqpjM/3p4o5pgkmuthLWUNpXNlrig8EjlnSTeVgde4kEBdI1Uc1RFqWJBBRxkOmZ/QcHQXdQNjQ==' \
--data '{
"user_identifier": "[email protected]"
}'

Example Response:

{"address":"0x7eeef5e7ba91bbf9dc548fc786526cbba716e5d4",
"user_identifier":"[email protected]"}
get
https://api.nfty.dev
/v1/accounts/user/:user_identifier
Get NFT Wallet Address for User

Example Request:

curl --request GET \
--url https://api.nfty.dev/v1/accounts/user/[email protected]%2Ecom \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer c4Vftx4kGiFYqpjM/3p4o5pgkmuthLWUNpXNlrig8EjlnSTeVgde4kEBdI1Uc1RFqWJBBRxkOmZ/QcHQXdQNjQ=='

Example Response:

{"address":"0x5da2770b7decc2b03487f23af148455770919f6e"}
get
https://api.nfty.dev
/v1/accounts/:address/(:contract_address)/(:token_id)
List NFT Wallet Contents

Example Request:

curl --request GET \
--url https://api.nfty.dev/v1/accounts/0x5da2770b7decc2b03487f23af148455770919f6e \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer c4Vftx4kGiFYqpjM/3p4o5pgkmuthLWUNpXNlrig8EjlnSTeVgde4kEBdI1Uc1RFqWJBBRxkOmZ/QcHQXdQNjQ=='

Example Response:

{"address":"0x5da2770b7decc2b03487f23af148455770919f6e",
"assets_count": 4,
"pending_assets_count": 0,
"assets":
[
{"token_id":1,"contract":"0x67fc09ae09c2964b289128347d8d080028e7ecea","type":"ERC721","token_url":"https://nfty.com/1"},
{"token_id":1,"contract":"0xf4e1074006928685a6ca3403d495f891eece7944","type":"ERC1155","token_url":"https://nfties.com/1","amount":1},
{"token_id":2,"contract":"0xf4e1074006928685a6ca3403d495f891eece7944","type":"ERC1155","token_url":"https://nfties.com/2","amount":2},
{"token_id":3,"contract":"0xf4e1074006928685a6ca3403d495f891eece7944","type":"ERC1155","token_url":"https://nfties.com/3","amount":5}
]
}
get
https://api.nfty.dev
/v1/accounts/:address/asset_history/:contract/(:token_id)
List NFT Asset History

Example Request:

curl --request GET \
--url https://api.nfty.dev/v1/accounts/0x5da2770b7decc2b03487f23af148455770919f6e/asset_history/0xf4e1074006928685a6ca3403d495f891eece7944 \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer c4Vftx4kGiFYqpjM/3p4o5pgkmuthLWUNpXNlrig8EjlnSTeVgde4kEBdI1Uc1RFqWJBBRxkOmZ/QcHQXdQNjQ=='

Example Response:

[
{"token_id":1,"type":"deposit","amount":1,"timestamp":"2021-08-25T12:19:46.000Z"},
{"token_id":2,"type":"deposit","amount":2,"timestamp":"2021-08-25T12:19:46.000Z"},
{"token_id":3,"type":"deposit","amount":10,"timestamp":"2021-08-25T12:19:46.000Z"},
{"token_id":3,"type":"withdrawal","amount":5,"timestamp":"2021-08-25T12:19:46.000Z"}
]
Copy link
On this page
post
Create NFT Wallet
get
Get NFT Wallet Address for User
get
List NFT Wallet Contents
get
List NFT Asset History