Skip to content

Conversation

arcoraven
Copy link
Contributor

Changes

  • Add POST /contract/:chain/:contractAddress/erc721/token/update
  • Add POST /contract/:chain/:contractAddress/erc1155/token/update

Updates token metadata. Example usage:

curl \
    -H "Authorization: Bearer <REDACTED>" \
    -H "Content-Type: application/json" \
    -H "x-backend-wallet-address: 0x4a1677844da684c840f1780817601fd3db715286" \
    -d '{"tokenId": "0", "metadata": {"name":"Updated NFT title"}}' \
    "http://localhost:3005/contract/80001/0x4B9008ef0176dA2909296B4764344cd2a5E46610/erc721/token/update"

Copy link

zeet-co bot commented Mar 15, 2024

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://web3-api-akbv-ph-udpatemetadataendpoints.chainsaw-dev.zeet.app before merging 😉

@arcoraven arcoraven merged commit 8111007 into main Mar 15, 2024
@arcoraven arcoraven deleted the ph/udpateMetadataEndpoints branch March 15, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant