Funny Fun
    Funny Fun
    • Overview
    • Token
      • Get tokens
        GET
      • Create token
        POST
      • Create token metadata
        POST
      • Get token holders
        GET
      • Get token
        GET
      • Token charts
        GET
      • Token holders
        GET
      • Token comments
        GET
      • Token comment likes
        POST
      • Token comments
        POST
      • Token favorites
        POST
      • Delete token favorites
        DELETE
    • Authentication
      • Check authentication status
        GET
      • Request nonce for authentication
        POST
    • Withdrawals
      • Get withdrawals
        GET
      • Create withdrawal
        POST
    • Users
      • Get user by address
        GET
      • Update user
        PUT
      • user preference
        PUT
    • Airdrop
      • Airdrop tasks
        GET
      • Airdrop claims
        POST
      • Airdrop leaderboard
        GET
    • Markets
      • Markets
        GET
      • Market buy price
        POST
      • Premarket buy amount
        POST
      • Market buy amount
        POST
      • Market sell price
        POST
      • Market sell amount
        POST
    • Deposits
      • Create deposit
      • list of deposit
    • Config
      GET
    • Blockchains
      GET
    • Orders
      POST
    • Accounts
      GET
    • Trades
      GET
    • Transactions
      GET

      Orders

      POST
      /orders
      Create order
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://api.nusabyte.com/api/v1/orders' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "blockchainKey": "string",
          "baseTokenId": "string",
          "quoteTokenId": "string",
          "orderType": "buy",
          "amount": "string",
          "price": "string",
          "slippage": "string",
          "deadline": 0
      }'
      Response Response Example
      {}

      Request

      Body Params application/json
      blockchainKey
      string 
      required
      baseTokenId
      string 
      required
      quoteTokenId
      string 
      required
      orderType
      enum<string> 
      required
      Allowed values:
      buysell
      amount
      string 
      required
      price
      string 
      required
      slippage
      string 
      required
      max 50%
      deadline
      number 
      required
      in unix epoch seconds
      Examples

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Modified at 2025-04-25 07:53:22
      Previous
      Blockchains
      Next
      Accounts
      Built with