API for flow mainnet/testnet address creation
Get accounts
Submit public key to receive accounts
| Code | Description | Schema |
|---|---|---|
| 200 | return 200 with the array of accounts. | [ [ models.Wallet ] ] |
Create an address
create address use public key
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| publicKey | body | public key | Yes | string |
| signatureAlgorithm | body | sign algorithm | Yes | string |
| hashAlgorithm | body | hash algorithm | Yes | string |
| weight | body | weight of the key | Yes | integer |
| Code | Description | Schema |
|---|---|---|
| 200 | return 200 with the transaction id. | controllers.WalletReturn |
Get accounts
Submit public key to receive accounts
| Code | Description | Schema |
|---|---|---|
| 200 | return 200 with the array of accounts from testnet. | [ [ models.Wallet ] ] |
Create an address
use public key to create address
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| publicKey | body | public key | Yes | string |
| signatureAlgorithm | body | sign algorithm | Yes | string |
| hashAlgorithm | body | hash algorithm | Yes | string |
| weight | body | weight of the key | Yes | integer |
| Code | Description | Schema |
|---|---|---|
| 200 | return 200 with the transaction id. | controllers.WalletReturn |
| Name | Type | Description | Required |
|---|---|---|---|
| txId | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| address | string | No | |
| created_at | string | No | |
| hash_algo | integer | No | |
| hash_algo_string | string | No | |
| id | integer | No | |
| public_key | string | No | |
| sign_algo | integer | No | |
| sign_algo_string | string | No | |
| updated_at | string | No | |
| weight | integer | No |