Skip to content

Commit

Permalink
Merge pull request #257 from NethermindEth/UpdateAPIInfterface
Browse files Browse the repository at this point in the history
Update RPC api Interface
  • Loading branch information
cicr99 authored Aug 10, 2023
2 parents 7003c4b + d942eff commit 2c54dc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpc/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ type api interface {
TransactionByBlockIdAndIndex(ctx context.Context, blockID BlockID, index uint64) (Transaction, error)
TransactionByHash(ctx context.Context, hash *felt.Felt) (Transaction, error)
TransactionReceipt(ctx context.Context, transactionHash *felt.Felt) (TransactionReceipt, error)
AddInvokeTransaction(ctx context.Context, broadcastedInvoke BroadcastedInvokeTransaction) (*AddInvokeTransactionResponse, error)
AddDeclareTransaction(ctx context.Context, declareTransaction BroadcastedDeclareTransaction) (*AddDeclareTransactionResponse, error)
AddDeployAccountTransaction(ctx context.Context, deployAccountTransaction BroadcastedDeployAccountTransaction) (*AddDeployTransactionResponse, error)
}

var _ api = &Provider{}

0 comments on commit 2c54dc6

Please sign in to comment.