Get Multiple Properties in One Query? #73
Answered
by
leolabs
keeper2597
asked this question in
Q&A
-
Is it possible to gain two or more properties on a single get request somehow? e.g. Or do you have to make requests for each trait? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
leolabs
Jan 3, 2023
Replies: 1 comment 1 reply
-
I usually just use const [numerator, denominator] = await Promise.all([
clip.get("signature_numerator"),
clip.get("signature_denominator"),
]); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
keeper2597
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I usually just use
Promise.all
for this: