Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ivpavici authored Oct 27, 2022
1 parent e5d0376 commit 8168842
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/docs/API/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ The options for the provider depend on the network. The structure of the options
- options.**baseUrl** - Base URL of the network
- options.**feederGatewayUrl** - Feeder Gateway Endpoint of the network
- options.**gatewayUrl** - Gateway Endpoint
- options.**headers** - [Optional] custom fecth headers
- options.**headers** - [Optional] custom fetch headers

or

- options.**network** - Either 'mainnet-alpha' or 'goerli-alpha'
- options.**headers** - [Optional] custom fecth headers
- options.**headers** - [Optional] custom fetch headers

Example:

Expand Down Expand Up @@ -398,7 +398,7 @@ Gets the transaction trace from a tx hash.
`new starknet.RpcProvider(options)`

- options.**nodeUrl** - Starknet RPC node url
- options.**headers** - [Optional] custom fecth headers
- options.**headers** - [Optional] custom fetch headers
- options.**retries** - [Optional] wait for transaction max retries

Example:
Expand Down

0 comments on commit 8168842

Please sign in to comment.