Skip to main content
POST
/
agent-wallet
Manage agent wallet (signed)
curl --request POST \
  --url https://exchange-api2.bulk.trade/api/v1/agent-wallet \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": {
    "type": "agentwalletcreation",
    "agent": {
      "a": "FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7",
      "d": false
    }
  },
  "signature": "5JX7N4f2r2qsLheHyvCpwzs4iXQjLPp1UZH1Ec4a7B4wJQi8Np4ncn3tDrEVW9BLjLVWm2nqFaGgk9T3o4WdTgpx",
  "account": "FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7",
  "signer": "FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"
}
'
{
  "status": "ok",
  "response": {
    "type": "<string>",
    "data": {
      "statuses": [
        {
          "resting": {
            "oid": "<string>"
          }
        }
      ]
    }
  }
}

Before You Start

See the Transaction Signing guide for details on how to sign your requests.

Body

application/json

Signed transaction for managing agent wallets

action
object
required
signature
string
required

Ed25519 signature (base58)

account
string
required

User public key (base58)

signer
string
required

Signer public key (base58)

Response

Agent wallet updated

Response from order/cancel/agent wallet operations

status
enum<string>
Available options:
ok,
error
response
object