Skip to content

/v1/evm/swaps naming using latest DEX database #294

@DenisCarriere

Description

@DenisCarriere

Calls only exists in Extended Block, the latest EVM DEX substreams v0.2.0 only uses Logs (not calls) to extract it's data.

Current way to implement :

/v1/evm/swaps

  • caller uses trx_from

    we don't have this concept on SVM, we could call it signer "the account signing the transaction"

  • sender uses user

    eventually should be renamed to user to align with SVM syntax

  • recipient uses user

    eventually this field should be dropped, no concept of recipient on SVM

When we want to introduce breaking changes in:

/v2/evm/swaps

  • ✅ new field signer (uses trx_from)
  • ⚠️ renamed sender to user
  • ❌ remove recipient field

The V2 would align more with SVM

Note: there could be other changes we introduce in V2 to align better with SVM swaps

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions