Skip to content

Commit

Permalink
Update index.mdx
Browse files Browse the repository at this point in the history
Added NftProvider object to common structures
  • Loading branch information
harsenyan3 committed Jul 10, 2024
1 parent 36b22f2 commit 689cc92
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,15 @@ The `WithdrawNftData` object is used for withdrawals of NFTs on ERC721 and ERC11
Due to this difference, the `amount` and `max` fields are only used the when
the `type` value is `withdraw_erc1155`.
</Note>

### NftProvider

The `NftProvider` object is used in the 'enable_nft' RPC method. It defines the NFT providers that are avaialable and their configuration.

| Parameter | Type | Description |
| -------------- | ------- | ------------------------------------------------------ |
| type | string | Specifies the type of the provider. |
| info | object | Additional information about the provider |
| info.url | string | URL of the provider's endpoint |
| info.proxy_auth | boolean | Optional, defaults to false. Indicates whether proxy authentication is enabled for the endpoint |

0 comments on commit 689cc92

Please sign in to comment.