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

support ethereum client interfaces #137

Open
4 tasks
xiangjianmeng opened this issue Jun 30, 2021 · 0 comments
Open
4 tasks

support ethereum client interfaces #137

xiangjianmeng opened this issue Jun 30, 2021 · 0 comments

Comments

@xiangjianmeng
Copy link
Contributor

go-sdk supports ethereum client interfaces as follows:

client.BalanceAt(ctx, account, blockNumber)
client.TransactionReceipt(ctx, txHash)
client.ChainID(ctx)
client.SendTransaction(ctx, tx)
client.PendingNonceAt(ctx, account)
client.NonceAt(ctx, account, blockNumber)
client.PendingCodeAt(ctx, account)
client.CodeAt(ctx, account, blockNumber)
client.EstimateGas(ctx, call)
client.SuggestGasPrice(ctx)
client.CallContract(ctx, msg, blockNumber)
client.BlockByNumber(ctx, number)
client.FilterLogs(ctx, q)
client.SubscribeFilterLogs(ctx, q, ch)
client.EthSubscribe(ctx, ch, "newHeads")
client.EthSubscribe(ctx, channel, args...)
client.CallContext(ctx, result, method, args...)
client.BatchCallContext(ctx, b)

Problem Definition

Proposal


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
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