add native token + internal transfers

This commit is contained in:
2026-05-11 11:27:24 +08:00
parent 9fca18cf95
commit 0074d6fb4e
4 changed files with 267 additions and 70 deletions
+14 -11
View File
@@ -1,19 +1,16 @@
import { Electroview } from 'electrobun/view'
export type EtherscanTx = {
blockNumber: string
timeStamp: string
export type TxEntry = {
hash: string
timeStamp: string
from: string
to: string
value: string
isError: string
txreceipt_status: string
gas: string
gasPrice: string
input: string
contractAddress: string
gasUsed: string
isError?: string
tokenSymbol?: string
tokenName?: string
tokenDecimal?: string
contractAddress?: string
}
type RPC = {
@@ -41,7 +38,13 @@ type RPC = {
page?: number
offset?: number
}
response: Promise<EtherscanTx[]>
response: Promise<TxEntry[]>
}
openExternal: {
params: {
url: string
}
response: Promise<void>
}
}
messages: {}