You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrieves all NFTs currently owned by multiple addresses using network and address pairs. This endpoint is supported on Ethereum and many L2s, including Polygon, Arbitrum, Optimism, Base, World Chain and more. See the full list of supported networks [here](https://dashboard.alchemy.com/chains?service=token-api&utm_source=readme&utm_medium=link&utm_campaign=docs_method_chains_link_v1_tokens).
For higher throughput, <span class="custom-style"><a href="https://alchemy.com/?a=docs-demo" target="_blank">create your own API key</a></span>
417
460
required: true
418
-
withMetadata:
419
-
name: withMetadata
420
-
description: 'Boolean - if set to `true`, returns metadata. Setting this to false will reduce payload size and may result in a faster API call. Defaults to `true`.'
421
-
schema:
422
-
type: boolean
423
-
default: true
424
-
in: query
425
-
withPrices:
426
-
name: withPrices
427
-
description: 'Boolean - if set to `true`, returns token prices. Setting this to false will reduce payload size and may result in a faster API call. Defaults to `true`.'
428
-
schema:
429
-
type: boolean
430
-
default: true
431
-
in: query
461
+
# TODO(peter): Annoyingly this doesn't work and defaults to string. Debug this eventually.
462
+
#
463
+
#withMetadataField:
464
+
# description: 'Boolean - if set to `true`, returns metadata. Setting this to false will reduce payload size and may result in a faster API call. Defaults to `true`.'
465
+
# type: boolean
466
+
# default: true
467
+
#withPrices:
468
+
# name: withPrices
469
+
# description: 'Boolean - if set to `true`, returns token prices. Setting this to false will reduce payload size and may result in a faster API call. Defaults to `true`.'
470
+
# schema:
471
+
# type: boolean
472
+
# default: true
432
473
networks:
433
474
name: networks
434
475
description: |
@@ -533,9 +574,32 @@ components:
533
574
items:
534
575
$ref: "#/components/schemas/AddressItem"
535
576
withMetadata:
536
-
- $ref: "#/components/schemas/withMetadata"
577
+
description: 'Boolean - if set to `true`, returns metadata. Setting this to false will reduce payload size and may result in a faster API call. Defaults to `true`.'
578
+
type: boolean
579
+
default: true
537
580
withPrices:
538
-
- $ref: "#/components/schemas/withPrices"
581
+
description: 'Boolean - if set to `true`, returns token prices. Setting this to false will reduce payload size and may result in a faster API call. Defaults to `true`.'
582
+
type: boolean
583
+
default: true
584
+
required:
585
+
- addresses
586
+
587
+
ByAddressRequestWithNFTOptions:
588
+
type: object
589
+
properties:
590
+
addresses:
591
+
type: array
592
+
minItems: 1
593
+
maxItems: 2
594
+
description: >
595
+
Array of address and networks pairs (limit 2 pairs, max 5 networks each). Networks should match network enums.
596
+
items:
597
+
$ref: "#/components/schemas/AddressItem"
598
+
withMetadata:
599
+
description: 'Boolean - if set to `true`, returns metadata. Setting this to false will reduce payload size and may result in a faster API call. Defaults to `true`.'
description: "String - Uri representing the location of the NFT's original metadata blob. This is a backup for you to parse when the metadata field is not automatically populated."
862
+
timeLastUpdated:
863
+
type: string
864
+
description: 'String - ISO timestamp of the last cache refresh for the information returned in the metadata field.'
0 commit comments