Comments (5)
I can do it both ways, what do you think @rmeissner
from safe-transaction-service.
yes, and maybe add a filter to allow filtering only incoming or only outgoing
from safe-transaction-service.
yes, and maybe add a filter to allow filtering only incoming or only outgoing
It will be addressed on #80
from safe-transaction-service.
I added tokenId
to the endpoint for ERC721
transfers and type
to make it easier for the frontend to see what kind of tx is each one
from safe-transaction-service.
Example of the endpoint:
[{
type: "ERC20_TRANSFER",
executionDate: "2020-03-20T13:21:03Z",
blockNumber: 6170425,
transactionHash: "0x59503f82486be12f38c2142100c1e16e8ebdb4e4cfaffd67977086d6de3da13f",
to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
value: "100000000000000000000",
tokenId: null,
tokenAddress: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa",
from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
},
{
type: "ERC20_TRANSFER",
executionDate: "2020-03-20T13:18:33Z",
blockNumber: 6170415,
transactionHash: "0x704d1feff147e46a398e01329879bb853122258f5bc4e23fbd88937ca9a54ece",
to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
value: "500000000000000000",
tokenId: null,
tokenAddress: "0xc778417E063141139Fce010982780140Aa0cD5Ab",
from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
},
{
type: "ERC721_TRANSFER",
executionDate: "2020-03-18T20:11:50Z",
blockNumber: 6160549,
transactionHash: "0x357fd69e21c7a850a0b9e656d2623008eb30191a814f000d2a76cdc4ba998c94",
to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
value: null,
tokenId: "10",
tokenAddress: "0xBD5603813416b9bED6f5ED2E9B858BA19a4b8E29",
from: "0x6a3eC06886aE5F7a1c019C524021E9e079FF9c45"
},
{
type: "ERC721_TRANSFER",
executionDate: "2020-03-18T19:21:34Z",
blockNumber: 6160348,
transactionHash: "0x8679a1b46841b9d9c8d6130ae1dac182b6ce67d1c47217f9aa81893b614021ad",
to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
value: null,
tokenId: "19",
tokenAddress: "0x2dfD872205A94308E5CeF193DCd5E2060B9a128B",
from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
},
{
type: "ETHER_TRANSFER",
executionDate: "2019-12-18T20:08:19Z",
blockNumber: 5637361,
transactionHash: "0x51c0f5d90077936bcd4cfb3254b9153af7600a323f1f1bda5f9114868e8730b9",
to: "0x441E604Ad49602c0B9C0B08D0781eCF96740786a",
value: "1000000000000000000",
tokenId: null,
tokenAddress: null,
from: "0x0E24B6e3BefF0b44b773F068343Bc2CB56cB3769"
}
]
from safe-transaction-service.
Related Issues (20)
- Error when in the method get_token_eth_price_from_oracles of Price Services, because not use the Native Coin, is not Ethereum Price in USD
- Refactor check_reorgs
- Document better Safe message hash calculation HOT 12
- Duplicated transactions when received Eth from another Safe and no ETHEREUM_TRACING_NODE_URL is set HOT 3
- Safe Transactions API Gnosis-Chain endpoint now returns 404 on all requests despite working just a few days ago HOT 2
- Django admin fonts not found HOT 1
- Node rpc timeout request is not reducing the block_process_limit value
- Worker stops to consume tasks after "connection reset by peer" HOT 13
- [GET] /api/v1/safes/:safeAddress - Nullable version field HOT 4
- Replace links pointing to the Safe Dev Docs HOT 1
- Update gunicorn version HOT 2
- Return 408 http code for gunicorn timeouts HOT 1
- Too much tasks created by process_decoded_internal_txs_task HOT 2
- Get account that proposed a transaction
- Contract ABI not loaded despite already verified on etherscan HOT 1
- Remove sorting for all-transactions endpoint
- Ignore untrusted transactions in `get_unique_nonce` HOT 2
- Adding CASH token to Safe HOT 1
- Add documentation about transferid and moduletransactionid
- Bug in Data Field of details an Multisig-transactions into tx-indexer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safe-transaction-service.