Skip to content

Commit

Permalink
feat: provider docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Oct 27, 2022
1 parent f2e9b1a commit e5d0376
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/docs/API/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +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

or

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

Example:

Expand Down Expand Up @@ -396,6 +398,8 @@ 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.**retries** - [Optional] wait for transaction max retries

Example:

Expand Down

0 comments on commit e5d0376

Please sign in to comment.