Register and Test Wrapper APIs for Bond Marketplace
Before you use the wrapper APIs, you must register them.
Register the Wrapper API specification
The wrapper API container service runs on the Oracle Blockchain Platform Enterprise Edition instance after provisioning. Before you can use the wrapper APIs, register them by calling /register endpoint for both token and account contracts. For more information, see the bond marketplace wrapper API reference.
Postman Collection
The Postman collection in the bond marketplace wrapper API package includes additional attributes and methods that support the bond marketplace contract. The following table shows the Postman collection variables that are specific to the bond marketplace package.
| Variable | Description |
|---|---|
baseUrl |
The base URL for the wrapper API service. |
orgId |
The organization ID of the user to create the wallet for. |
userId |
The user ID of the user to create the wallet for. |
instanceId |
The client secret of the IDCS confidential application, which is used to create an IDCS user by the CreateIDCS user API.
|
ordsHost |
The ORDS host URL. |
ordsPathPrefix |
The path prefix to identify that the API endpoint is targeted for ORDS calls. For example, use the value /ords/.
|
accessTokenUrl |
The ID provider access token URL. |
clientId |
The ID provider client ID for generating an auth token for the caller. |
clientSecret |
The ID provider client secret for generating an auth token for the caller. |
username |
The ID provider username for generating an auth token for the caller. |
password |
The ID provider password for generating an auth token for the caller. |
bondTokenContractAddress |
The address of the bond tokencontract. |
accountContractContractAddress |
The address of the account contract. |
contractAddress |
The account or token contract address. |
walletId |
The wallet address of the caller. |
fromAddress |
The wallet address of the caller. |
blockTag |
The Oracle Blockchain Platform Besu block tag. |