Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Incoming Transaction response type #1085

Open
salochara opened this issue Dec 18, 2024 · 0 comments
Open

Get Incoming Transaction response type #1085

salochara opened this issue Dec 18, 2024 · 0 comments

Comments

@salochara
Copy link

Hi!

I am using the .getIncomingTransactions() from the SafeApiKit using a Safe that was deployed with Safe4437.

Whenever I call this method, I get the tokenInfo property which is not defined in the TransferListResponse type.

TypeScript correctly complains about it, but I am actually getting that tokeInfo property populated whenever I am dealing with ERC-20 tokens.
And also I am getting the transferId property that's also not defined in TransferListResponse type

  incoming transactions {
  count: 3,
  next: null,
  previous: null,
  results: [
  {
      type: 'ERC20_TRANSFER',
      executionDate: '...',
      blockNumber: ...,
      transactionHash: '....',
      to: '...',
      value: '...',
      tokenId: null,
      tokenAddress: '...',
      transferId: '...',
      tokenInfo: [Object],
      from: 'Ox'
   },
  ]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant