|
1 |
| -# Contracts API |
| 1 | +# Smart Contracts API |
2 | 2 |
|
3 | 3 | API for creation and management of smart contracts through Apillon wallets on supported EVM chains.
|
4 | 4 |
|
@@ -360,7 +360,7 @@ Array item(s) format depends on value of `solidityJson` passed as query paramete
|
360 | 360 | <CodeGroupItem title="cURL" active>
|
361 | 361 |
|
362 | 362 | ```sh
|
363 |
| -curl --location 'https://api.apillon.io/contracts/:uuid/deploy' \ |
| 363 | +curl --location 'https://api.apillon.io/contracts/:uuid/deploy' \ |
364 | 364 | --header 'Authorization: Basic :credentials'
|
365 | 365 | --data-raw '{
|
366 | 366 | "name": "Test Contract 2",
|
@@ -641,7 +641,7 @@ All query parameters from [listing request](1-apillon-api.md#listing-requests) p
|
641 | 641 |
|
642 | 642 | Response is a list of items (shorter version) described [under Response Fields above](#response-fields).
|
643 | 643 |
|
644 |
| -Item is a shorter version because it is a flat object and it doesn't include nested `contractVersion` (with `abi`, |
| 644 | +Item is a shorter version because it is a flat object and it doesn't include nested `contractVersion` (with `abi`, |
645 | 645 | `methods` and `contract`), instead it exposes some details from this table:
|
646 | 646 |
|
647 | 647 | ##### Response Fields
|
@@ -857,7 +857,7 @@ All query parameters from [listing request](1-apillon-api.md#listing-requests),
|
857 | 857 | | 40300000 | Not allowed to access deployed contract. |
|
858 | 858 |
|
859 | 859 | #### Response
|
860 |
| -Endpoint returns ABI methods as an array. |
| 860 | +Endpoint returns ABI methods as an array. |
861 | 861 |
|
862 | 862 | Array item(s) format depends on value of `solidityJson` passed as query parameter (human-readable ABI or ABI in Solidity JSON format).
|
863 | 863 |
|
@@ -1020,21 +1020,21 @@ Endpoint returns transactions for deployed contract based on filters.
|
1020 | 1020 |
|
1021 | 1021 | | Name | Type | Description |
|
1022 | 1022 | |-------------------------|------------|-------------------------------------|
|
1023 |
| -| `contractUuid` | `string` | UUID of the contract. | |
1024 |
| -| `projectUuid` | `string` | UUID of the associated project. | |
1025 |
| -| `name` | `string` | Name of the contract. | |
1026 |
| -| `description` | `string` | Description of the contract. | |
1027 |
| -| `chainType` | `number` | Type of blockchain chain. | |
1028 |
| -| `chain` | `number` | ID of the blockchain. | |
1029 |
| -| `versionId` | `number` | Version ID of the contract. | |
1030 |
| -| `constructorArguments` | `any[]` | Arguments for the constructor. | |
1031 |
| -| `contractStatus` | `number` | Status of the contract deployment. | |
1032 |
| -| `contractAddress` | `string` | Deployed contract address. | |
1033 |
| -| `deployerAddress` | `string` | Address of the deployer. | |
1034 |
| -| `transactionHash` | `string` | Transaction hash of deployment. | |
| 1023 | +| `contractUuid` | `string` | UUID of the contract. | |
| 1024 | +| `projectUuid` | `string` | UUID of the associated project. | |
| 1025 | +| `name` | `string` | Name of the contract. | |
| 1026 | +| `description` | `string` | Description of the contract. | |
| 1027 | +| `chainType` | `number` | Type of blockchain chain. | |
| 1028 | +| `chain` | `number` | ID of the blockchain. | |
| 1029 | +| `versionId` | `number` | Version ID of the contract. | |
| 1030 | +| `constructorArguments` | `any[]` | Arguments for the constructor. | |
| 1031 | +| `contractStatus` | `number` | Status of the contract deployment. | |
| 1032 | +| `contractAddress` | `string` | Deployed contract address. | |
| 1033 | +| `deployerAddress` | `string` | Address of the deployer. | |
| 1034 | +| `transactionHash` | `string` | Transaction hash of deployment. | |
1035 | 1035 | | `contractVersion` | `string` | Version of the contract (nullable). |
|
1036 |
| -| `createTime` | `Datetime` | Creation time of the contract. | |
1037 |
| -| `updateTime` | `Datetime` | Last update time of the contract. | |
| 1036 | +| `createTime` | `Datetime` | Creation time of the contract. | |
| 1037 | +| `updateTime` | `Datetime` | Last update time of the contract. | |
1038 | 1038 |
|
1039 | 1039 |
|
1040 | 1040 | </div>
|
|
0 commit comments