Coffer Open API
Updates
Version: 1.0.0 [21/Dec/2024]
- Fee
- Get Fee Rate
- Estimate Fee
- Asset
- Get Assets
- Wallet
- Create A Multisig Wallet
- Get Multisig Wallets
- Join A Multisig Wallet
- Get A Multisig Wallet By Wallet ID
- Transaction
- Create A Transaction
- Get Transactions
- Get A Transaction From Transaction ID
- Get A Transaction PSBT
- Confirm A Transaction
Endpoint
https://open-api.coffer.network/v1
Fee
Get Fee Rate
URI: /fee-rate
Method: GET
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | FeeRecommended |
Estimate Fee
URI: /estimate-fee
Method: POST
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | EstimateFee |
Asset
Get Assets
URI: /wallets/{address}/assets
Method: GET
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | [ Asset ] |
Wallet
Create A Multisig Wallet
URI: /wallets
Method: POST
Parameters:
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
body | body | Request body | Yes | object |
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | WalletItem |
Get Multisig Wallets
URI: /wallets
Method: GET
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | [ WalletItem ] |
Join A Multisig Wallet
URI: /wallets/{wid}/join
Method: POST
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | WalletItem |
Get A Multisig Wallet By Wallet ID
URI: /wallets/{wid}
Method: GET
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | WalletItem |
Transaction
Create A Transaction
URI: /transactions
Method: POST
Parameters:
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
body | body | Request body | Yes | TransactionCreate |
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | Transaction |
Get Transactions
URI: /transactions
Method: GET
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | TransactionList |
Get A Transaction From Transaction ID
URI: /transactions/{tid}
Method: GET
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | Transaction |
Get A Transaction PSBT
URI: /transactions/{tid}/psbt
Method: GET
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | object |
Confirm A Transaction
URI: /transactions/{tid}/confirm
Method: POST
Parameters: None
Responses:
Code | Description | Schema |
---|---|---|
200 | OK | Transaction |
Models
FeeRecommended
Name | Type | Description | Required |
---|---|---|---|
fastestFee | integer | Fastest Fee | No |
halfHourFee | integer | Half Hour Fee | No |
hourFee | integer | Hour Fee | No |
economyFee | integer | Economy Fee | No |
minimumFee | integer | Minimum Fee | No |
EstimateFee
Name | Type | Description | Required |
---|---|---|---|
fee | integer | Fee | No |
Asset
Name | Type | Description |
---|---|---|
assetId | string | Asset ID |
assetName | string | Asset Name |
assetType | string | Asset Type |
assetSpecialName | string | Asset Special Name |
walletAddress | string | Wallet Address |
balance | string | Balance |
unconfirmedBalance | string | Unconfirmed Balance |
provider | string | Provider |
WalletItem
Name | Type | Description |
---|---|---|
uuid | string | Wallet ID |
addressType | string | Address Type |
address | string | Address |
threshold | integer | Threshold |
signerCount | integer | Signer Count |
network | string | Network |
creator | string | Creator |
createdAt | integer | Created At |
signers | [ WalletSignerItem ] | Signers |
WalletSignerItem
Name | Type | Description |
---|---|---|
name | string | Name |
address | string | Address |
network | string | Network |
joinedAt | integer | Joined At |
isJoined | boolean | Is Joined |
isCreator | boolean | Is Creator |
TransactionCreate
Name | Type | Description |
---|---|---|
fromAddress | string | From Address |
toAddress | string | To Address |
assetType | string | Asset Type |
assetName | string | Asset Name |
amount | number | Amount |
feeRate | integer | Fee Rate |
network | string | Network |
Transaction
Name | Type | Description | Required |
---|---|---|---|
uuid | string | Transaction ID | No |
from | string | From | No |
to | string | To | No |
addressType | string | Address Type | No |
assetName | string | Asset Name | No |
amount | integer | Amount | No |
network | string | Network | No |
wallet | object | Wallet | No |
created | integer | Created | No |
TransactionList
Name | Type | Description | Required |
---|---|---|---|
items | [ TransactionListItem ] | Items | No |
TransactionListItem
Name | Type | Description | Required |
---|---|---|---|
uuid | string | Transaction ID | No |
from | string | From | No |
to | string | To | No |
addressType | string | Address Type | No |
assetName | string | Asset Name | No |
amount | integer | Amount | No |
network | string | Network | No |
isPending | boolean | Is Pending | No |
isReceived | boolean | Is Received | No |
txId | string | Tx ID | No |
confirmed | string | Confirmed | No |
broadcastedAt | integer | Broadcasted At | No |
fee | integer | Fee | No |
feeRate | integer | Fee Rate | No |
creator | string | Creator | No |
signers | [ TransactionSigner ] | Signers | No |
TransactionSigner
Name | Type | Description |
---|---|---|
confirmedAction | string | Confirmed Action |
confirmedAt | integer | Confirmed At |
signerAddress | string | Signer Address |