Skip to content

Commit

Permalink
When loading token data, add network and layer info
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Jul 1, 2023
1 parent d9597c2 commit 7cf0b52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/oasis-nexus/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ export const useGetRuntimeEvmTokensAddress: typeof generated.useGetRuntimeEvmTok
total_supply: data.total_supply
? fromBaseUnits(data.total_supply, data.decimals || 0)
: undefined,
network,
layer: runtime,
}
},
...arrayify(options?.request?.transformResponse),
Expand Down

0 comments on commit 7cf0b52

Please sign in to comment.