{ "opencollection": "1.0.0", "info": { "name": "Hifi Account Cross-Chain Bridge API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Cross-Chain Bridge", "type": "folder" }, "items": [ { "info": { "name": "List all bridging requests", "type": "http" }, "http": { "method": "GET", "url": "https://production.hifibridge.com/v2/wallets/bridges", "params": [ { "name": "userId", "value": "", "type": "query", "description": "The user ID." }, { "name": "limit", "value": "", "type": "query", "description": "default to 10, maximum to 100" }, { "name": "createdBefore", "value": "", "type": "query", "description": "ISO format: YYYY-MM-DD" }, { "name": "createdAfter", "value": "", "type": "query", "description": "ISO format: YYYY-MM-DD" } ] }, "docs": "Returns a list of bridging requests associated with a user under your organization.\n" }, { "info": { "name": "Create a bridging request", "type": "http" }, "http": { "method": "POST", "url": "https://production.hifibridge.com/v2/wallets/bridges", "body": { "type": "json", "data": "{}" } }, "docs": "Create a bridging request to bridge crypto assets across chains." }, { "info": { "name": "Accept a bridging request", "type": "http" }, "http": { "method": "POST", "url": "https://production.hifibridge.com/v2/wallets/bridges/:transferId/accept", "params": [ { "name": "transferId", "value": "", "type": "path", "description": "Transfer record ID." } ] }, "docs": "Accept a bridging request to initialize the bridging of crypto assets across chains.\n" }, { "info": { "name": "Retrieve a bridging request", "type": "http" }, "http": { "method": "GET", "url": "https://production.hifibridge.com/v2/wallets/bridges/:transferId", "params": [ { "name": "transferId", "value": "", "type": "path", "description": "Transfer record ID." } ] }, "docs": "Retrieve a bridging request" } ] } ], "bundled": true }