#SamuelJS

1 messages · Page 1 of 1 (latest)

waxen stagBOT
pliant osprey
#

Hi
You should just include expand: ["source"]

somber spade
#

hmm i see, when I try to access source.id now it says that "id" doesn't exist on type string?

waxen stagBOT
golden pier
#

You don't need to specify id when you expand

somber spade
#

okay gotcha, and this should allow access to the "id" field within source?

golden pier
#

Correct

somber spade
#

do you know why the source is of type string? im unable to access the id because of this

golden pier
#

Not sure i follow

#

What other type would it be?

somber spade
#

so once I expanded, i was assuming I can access the source id, by calling source.id but since source is a string its not recognizing it

#

i've attached an image of the source type above.

#

im accessing the source from BalanceTransaction

golden pier
#

What are you seeing in the response once you expand?

somber spade
#

nvm got it thanks!