wallet-fetcher: adding token address in eth token
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
7c017b76e7
commit
ce27d3e0cb
|
@ -10,7 +10,7 @@ data:
|
||||||
connectorSubtype: api
|
connectorSubtype: api
|
||||||
connectorType: source
|
connectorType: source
|
||||||
definitionId: 1e55cfe0-f591-4281-9a20-18d89d45f685
|
definitionId: 1e55cfe0-f591-4281-9a20-18d89d45f685
|
||||||
dockerImageTag: 0.8.0
|
dockerImageTag: 0.9.0
|
||||||
dockerRepository: status-im/airbyte/wallet-fetcher
|
dockerRepository: status-im/airbyte/wallet-fetcher
|
||||||
githubIssueLabel: source-wallet-fetcher
|
githubIssueLabel: source-wallet-fetcher
|
||||||
icon: icon.svg
|
icon: icon.svg
|
||||||
|
|
|
@ -49,6 +49,12 @@
|
||||||
"null",
|
"null",
|
||||||
"string"
|
"string"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"address": {
|
||||||
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,7 @@ class EthereumToken(BlockchainStream):
|
||||||
"balance":eth_data['rawBalance'],
|
"balance":eth_data['rawBalance'],
|
||||||
"decimal":18,
|
"decimal":18,
|
||||||
"tags": stream_slice['tags']
|
"tags": stream_slice['tags']
|
||||||
|
"address": "eth"
|
||||||
}
|
}
|
||||||
if 'tokens' in response.json():
|
if 'tokens' in response.json():
|
||||||
tokens_data=response.json()['tokens']
|
tokens_data=response.json()['tokens']
|
||||||
|
|
Loading…
Reference in New Issue