Skip to main content
POST
/
platform
/
admin
/
tenant
/
wallets
/
create
Create EOA wallet
curl --request POST \
  --url https://api.example.com/platform/admin/tenant/wallets/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenantId": 1024,
  "walletName": "My Wallet",
  "walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "blockchainId": 137
}
'
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Description

Registers a new EOA (Externally Owned Account) wallet in the platform system. EOA wallets are standard blockchain wallets controlled by a single private key, distinct from multisignature wallets that require multiple approvals.

Input

Expects a JSON body containing:
  • tenantId (long, required) - Identifier of the tenant that will own the wallet
  • walletName (string, required) - Display name for the wallet
  • walletAddress (string, required) - Blockchain address of the wallet (must be valid for the specified blockchain)
  • blockchainId (long, required) - Identifier of the blockchain network (e.g., 1 for Ethereum, 137 for Polygon)

Output

Returns a containing:
  • walletTenantId (long) - Unique identifier for the created wallet tenant record
  • walletAddress (string) - The blockchain address of the wallet
  • walletName (string) - The assigned wallet name
  • blockchainId (long) - The blockchain network identifier

Examples

Request
{
  "tenantId": 1024,
  "walletName": "Operations Wallet",
  "walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "blockchainId": 137
}
Response (200 OK)
{
  "walletTenantId": 2048,
  "walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "walletName": "Operations Wallet",
  "blockchainId": 137
}

Errors

  • 400 Bad Request: Invalid wallet address format, missing required fields, or unsupported blockchain ID.
  • 401 Unauthorized: Authentication token is missing or invalid.
  • 403 Forbidden: User does not have permission to create wallets for the specified tenant.
  • 409 Conflict: A wallet with the specified address already exists on the blockchain network.
  • 500 Internal Server Error: An unexpected error occurred during wallet creation.

Notes

The wallet address must be a valid address for the specified blockchain. The system does not generate private keys or create new blockchain addresses - it only registers existing addresses. EOA wallets are immediately active and visible upon creation.

Query Parameters

api-version
string | null

Body

application/json

Request containing wallet creation details including tenant, name, address, and blockchain.

Request to create a new externally owned account (EOA) wallet.

tenantId
integer<int64>

Identifier of the tenant that will own the wallet.

Example:

1024

walletName
string

Name to assign to the wallet.

Example:

"My Wallet"

walletAddress
string

Blockchain address of the wallet.

Example:

"0x1234567890abcdef1234567890abcdef12345678"

blockchainId
integer<int64>

Identifier of the blockchain network where the wallet exists.

Example:

137

Response

Wallet created successfully.

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object

The result value returned when the operation is successful.

Example:
{
"id": 2048,
"walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
"blockchainId": 137
}