Pacifica
  • Getting Started
    • Closed Beta Guide
  • Trading on Pacifica
    • Overview
    • Contract Specifications
      • Oracle Price & Mark Price
      • Settlement Mechanism
    • Order Types
      • Market Order
      • Limit Order
      • Order Rules & Constraints
    • Margin & Leverage
    • Funding Rates
    • Liquidations
  • About Pacifica
  • API Documentation
    • API
      • REST API
        • Markets
          • Get market info
          • Get prices
          • Get kline (candle) data
          • Get recent trades
        • Account
          • Get account info
          • Get account settings
          • Update leverage
          • Update margin mode
          • Get positions
          • Get trade history
          • Get funding history
          • Get account equity history
          • Request withdrawal
        • Subaccounts
          • Create subaccount
          • Subaccount fund transfer
        • Orders
          • Get open orders
          • Get order history
          • Get order history by ID
          • Create order
          • Create stop order
          • Create position TP/SL
          • Cancel order
          • Cancel all orders
          • Cancel stop order
          • Batch order
      • Websocket
        • Subscriptions
          • Prices
          • Orderbook
          • Trades
          • Candle
          • Order updates
          • Account balance
          • Account margin
          • Account leverage
          • Account positions
          • Account orders
          • Account order updates
          • Account trades
        • Trading operations
          • Create order
          • Cancel order
          • Cancel all orders
      • Signing
        • Implementation
        • Operation Types
        • Error Handling
        • Hardware Wallet
      • Rate limits
      • Tick and lot size
    • Specification
  • Testnet
    • Testnet Guide
      • Link To Guide PDF
  • Other
    • Audits
    • Brand Assets
    • Contact Us
    • Glossary of Terms
Powered by GitBook
On this page
  1. API Documentation
  2. API
  3. Signing

Hardware Wallet

PreviousError HandlingNextRate limits

Last updated 20 hours ago

Pacifica supports hardware wallet signature authentication via Ed25519 . To use hardware wallet, after constructing the , prepend it with the \xffsolana offchain header together with message length, version information, etc.

Then, in the , use hardware as the type :

...
"signature": {
      "type": "hardware",
      "value": "2V4Y7Mpk...",
},
...

For more details, refer to in the Python SDK.

off-chain message signing
this example
message bytes
signature to send