Add caller/transaction/log fields to EVM swaps and transaction/log fields to TVM swaps#443
Conversation
Co-authored-by: DenisCarriere <550895+DenisCarriere@users.noreply.github.com>
Co-authored-by: DenisCarriere <550895+DenisCarriere@users.noreply.github.com>
DenisCarriere
left a comment
There was a problem hiding this comment.
- Do not make any changes to .
/transfers(revert these changes) - Only make changes to
./swapsevm + tvm
For TVM
- instead of creating a new SQL statement, let's keep re-using evm.sql
- The fields exist on the DB, however they are all null/0
- Add a post-query modifier to remove any caller + call_* fields from TVM swaps response
Co-authored-by: DenisCarriere <550895+DenisCarriere@users.noreply.github.com>
Co-authored-by: DenisCarriere <550895+DenisCarriere@users.noreply.github.com>
Addressed in 1aa2574. Transfers were reverted to their pre-change state, the swap work is now limited to EVM+TVM only, TVM swaps reuse the shared |
DenisCarriere
left a comment
There was a problem hiding this comment.
For TVM, let's remove caller as query param since we do not actually have the caller field in the data, it would be misleading to filter on this field and users would expect this would be available if they can filter on it.
- for TVM swaps remove
callerfrom query param - remove
normalizeTvmSwapQueryParamssince it won't be required
Co-authored-by: DenisCarriere <550895+DenisCarriere@users.noreply.github.com>
Addressed in be2bd6a. TVM swaps no longer accept |
This updates
/v1/evmand/v1/tvmswaps to expose the newer transaction/log metadata while preserving/v1compatibility and TVM constraints. The scope is limited to./swaps; no./transferschanges are included.Endpoint surface
callercall_indextransaction_indextransaction_fromlog_ordinallog_block_indexlog_topic0transaction_indextransaction_fromlog_ordinallog_block_indexlog_topic0callerandcall_*fields in the final API response.Query/filter behavior
callerminute-prefilter support for EVM swaps usingcall_caller.transaction_fromminute-prefilter support for swaps viatx_from.senderandtransaction_from, while removing the misleadingcallerquery param.SQL routing
./swaps/evm.sqlwith the new aliases projected from the underlying DB columns../swaps/evm.sql.caller/call_*fields are removed from the returned payload.Schema/docs alignment
caller.caller/call_*fieldscallerOriginal prompt
call_*&trx_*&log_*fields to Swaps & Transfers for/evm&/tvmendpoints #379📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.