Closed franciszekjob closed 1 month ago
This PR focuses on refactoring StarknetProvider, StarknetRequest and related structs/protocols for sending RPC calls.
StarknetProvider
StarknetRequest
Introduced changes:
send
Closes #215
provider
estimateFeeV1
estimateFeeV3
StarknetAccountProtocol
StarknetAccount
@DelevoXDG please also take a look
Describe your changes
This PR focuses on refactoring
StarknetProvider
,StarknetRequest
and related structs/protocols for sending RPC calls.Introduced changes:
StarknetProvider
toStarknetRequest
which is now just a container for a RPC call.send
method fromStarknetRequest
.send
method toStarknetProvider
responsible for sending single/multiple RPC calls.Linked issues
Closes #215
Breaking changes
StarknetProvider
toStarknetRequest
.send
method fromStarknetRequest
- use addedsend
inStarknetProvider
to send RPC callsprovider
param inestimateFeeV1
andestimateFeeV3
inStarknetAccountProtocol
; Update following methods inStarknetAccount