wallet-fetcher: adding token address in eth token

Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis Pentori 2024-02-21 11:11:09 +01:00
parent 7c017b76e7
commit ce27d3e0cb
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
3 changed files with 8 additions and 2 deletions

View File

@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 1e55cfe0-f591-4281-9a20-18d89d45f685
dockerImageTag: 0.8.0
dockerImageTag: 0.9.0
dockerRepository: status-im/airbyte/wallet-fetcher
githubIssueLabel: source-wallet-fetcher
icon: icon.svg

View File

@ -49,6 +49,12 @@
"null",
"string"
]
},
"address": {
"type": [
"null",
"string"
]
}
}
}

View File

@ -92,7 +92,7 @@ class EthereumToken(BlockchainStream):
"balance":eth_data['rawBalance'],
"decimal":18,
"tags": stream_slice['tags']
"address": "eth"
}
if 'tokens' in response.json():
tokens_data=response.json()['tokens']