General Instruction

Data Request and Return Data Type

Production API Address: https://api.paths.finance/

Swap Production API Address: https://api-swap.paths.finance

Test API Address: https://api-test.paths.finance/

Both the POST request data format and the return data format are JSON data types.

Status Code Description

Status Code
Meaning

100

Succeed

Others

Fail

Device Code Description

// device id nodejsgenerate logic reference id
          let equipmentNo = ''
          if (address.length <= 32) {
            let n = 32 - address.length
            for (let i = 0; i < n; i++) {
              equipmentNo += 'x'
            }
            equipmentNo += address
          } else {
            equipmentNo = address.slice(0, 32)
          }

Last updated