Skip to content

Commit

Permalink
Fix token id name (#132)
Browse files Browse the repository at this point in the history
In the API its returned like `"nativeTokens":[{"id":"0x08722b1bf4f0295866c8bc75590d83b7422e47739e4b0048126fae45d0b5d330f90200000000","amount":"0x3e8"}]`, so only `id`
  • Loading branch information
Thoralf-M authored Jun 13, 2023
1 parent 8cd1523 commit 6b6d4c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tips/TIP-0025/core-rest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2222,14 +2222,14 @@ components:
NativeToken:
description: A native token and its balance in the output.
properties:
tokenId:
id:
type: string
description: Hex-encoded identifier with 0x prefix of the native token. Same as foundryId of the controlling foundry.
amount:
type: string
description: Amount of native tokens (up to uint256). Hex-encoded number with 0x prefix.
required:
- tokenId
- id
- amount

Ed25519Address:
Expand Down

0 comments on commit 6b6d4c8

Please sign in to comment.