Delegate Signer
Delegate Signer
- Accounts
- Wallet Authentication
- Deposit/Withdrawal
- Settle PnL
- Order Management
- Custom Fee Structure
- Delegate Signer
- Referral System
- Broker Info
- System Info
- USDC Faucet
- Registration
- Key Management
- Account/User Info
- Account Notifications
- Account Config
- Delegate Signer
- Order Management
- Liquidations
- Assets/Withdraw/Settle PnL
- Positions
- Funding
- User Data
- Trading Campaigns
- Fee Setting
- Points Campaign
- Referral Program
- TradingView
- Funding Rates
- Market Info
User Flows
General API
User API
Trading API
Broker API
Market Data API
Delegate Signer
Delegate Signer
Limit: 1 requests per second
POST /v1/delegate_signer
POST
/
v1
/
delegate_signer
object
message
object
*
message
Required
object
delegateContract
string
*
delegateContract
Required
string
Add Example Value
brokerId
string
*
brokerId
Required
string
Broker ID
Add Example Value
chainId
integer
*
chainId
Required
integer
Chain ID of registering chain (within those that are supported by the Network)
Add Example Value
timestamp
integer
*
timestamp
Required
integer
timestamp in UNIX milliseconds
Add Example Value
registrationNonce
integer
*
registrationNonce
Required
integer
Message object containing the message that is signed by the wallet owner
Add Example Value
txHash
string
txHash
string
Add Example Value
signature
string
*
signature
Required
string
The signature generated by signing the message object via EIP-712
Add Example Value
userAddress
string
*
userAddress
Required
string
The address of the wallet signing the message object via EIP-712
Add Example Value
curl --request POST \
--url https://api-evm.orderly.network/v1/delegate_signer \
--header 'Content-Type: application/json' \
--data '{
"message": {
"delegateContract": "0xaddress",
"brokerId": "woofi_pro",
"chainId": 421613,
"timestamp": 1704879369551,
"registrationNonce": 161111791392,
"txHash": "0xtxhash"
},
"signature": "0x8668447f28534dc1b76566e41f5fcdeb6b131355b9cf428f3fae5c134e9a0fc55642a2771860484651e61043e8ac67a1a6e54031a4c66de44acd77c9d9b281e81b",
"userAddress": "0xDd3287043493E0a08d2B348397554096728B459c"
}'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"user_id": 100338,
"account_id": "0xd890c9b8b86fba7312b919e32bbabd619228b32d59f6d0f68fdf4451a684a654",
"valid_signer": "0xc6c4c5c41efa74ebc63c675dcf7034e8382f3a42"
}
}
Body
application/json
message
object
requiredmessage.delegateContract
string
requiredmessage.brokerId
string
requiredBroker ID
message.chainId
integer
requiredChain ID of registering chain (within those that are supported by the Network)
message.timestamp
integer
requiredtimestamp in UNIX milliseconds
message.registrationNonce
integer
requiredMessage object containing the message that is signed by the wallet owner
message.txHash
string
signature
string
requiredThe signature generated by signing the message object via EIP-712
userAddress
string
requiredThe address of the wallet signing the message object via EIP-712
Response
200 - application/json
success
boolean
requiredtimestamp
integer
data
object
data.user_id
integer
data.account_id
string
data.valid_signer
string
curl --request POST \
--url https://api-evm.orderly.network/v1/delegate_signer \
--header 'Content-Type: application/json' \
--data '{
"message": {
"delegateContract": "0xaddress",
"brokerId": "woofi_pro",
"chainId": 421613,
"timestamp": 1704879369551,
"registrationNonce": 161111791392,
"txHash": "0xtxhash"
},
"signature": "0x8668447f28534dc1b76566e41f5fcdeb6b131355b9cf428f3fae5c134e9a0fc55642a2771860484651e61043e8ac67a1a6e54031a4c66de44acd77c9d9b281e81b",
"userAddress": "0xDd3287043493E0a08d2B348397554096728B459c"
}'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"user_id": 100338,
"account_id": "0xd890c9b8b86fba7312b919e32bbabd619228b32d59f6d0f68fdf4451a684a654",
"valid_signer": "0xc6c4c5c41efa74ebc63c675dcf7034e8382f3a42"
}
}