{"id":22421807,"url":"https://github.com/ringecosystem/msgport-api","last_synced_at":"2025-03-27T05:18:29.947Z","repository":{"id":184356472,"uuid":"671746641","full_name":"ringecosystem/msgport-api","owner":"ringecosystem","description":"A reference implementation of msgport fee estimation spec","archived":false,"fork":false,"pushed_at":"2024-10-23T06:14:29.000Z","size":381,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-01T10:26:44.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ringecosystem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-28T03:32:43.000Z","updated_at":"2024-10-23T06:14:02.000Z","dependencies_parsed_at":"2023-10-17T11:42:15.369Z","dependency_job_id":"3f59d45c-e1d1-4f87-bb21-804c98525edb","html_url":"https://github.com/ringecosystem/msgport-api","commit_stats":null,"previous_names":["darwinia-network/feestimi","darwinia-network/darwinia-msgport-api","msgport/msgport-api","ringecosystem/msgport-api"],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fmsgport-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fmsgport-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fmsgport-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringecosystem%2Fmsgport-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ringecosystem","download_url":"https://codeload.github.com/ringecosystem/msgport-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785805,"owners_count":20671634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T17:09:35.950Z","updated_at":"2025-03-27T05:18:29.922Z","avatar_url":"https://github.com/ringecosystem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Msgport API\n\n## Usage\n\nhttps://apidog.msgport.xyz/\n\n- Estimate fee of ormp\n  \n  ```\n  POST /v2/fee_with_options HTTP/1.1\n  Content-Type: application/json\n  Host: api.msgport.xyz\n  \n  {\n    \"fromChainId\": 701,\n    \"fromAddress\": \"0x65be094765731f394bc6d9df53bdf3376f1fc8b0\",\n    \"toChainId\": 2494104990,\n    \"toAddress\": \"0x65be094765731f394bc6d9df53bdf3376f1fc8b0\",\n    \"message\": \"0x1841a477000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000002b496f19a420c02490db859fefeccd71edc2c046000000000000000000000000dc0c760c0fb4672d06088515f6446a71df0c64c1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a4e80f03d0000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000e7578598aac020abfb918f33a20fad5b71d670b4000000000000000000000000092e19c46c9daab7824393f1cd9c22f5bea135600000000000000000000000004ca75992d2750bec270731a72dfdede6b9e71cc700000000000000000000000088a39b052d477cfde47600a7c9950a441ce61cb40000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000018e98a317b100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000c29dcb1f12a1618262ef9fba673b77140adc02d60000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001488a39B052d477CfdE47600a7C9950a441Ce61cb400000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"ormp\": {\n      \"refundAddress\": \"0x570FCA2c6f902949dBb90664Be5680fEc94A84f6\"\n    }\n  }\n  ```\n  \n- Estimate fee of multiport\n  \n  ```\n  POST /v2/fee_with_options HTTP/1.1\n  Content-Type: application/json\n  Host: api.msgport.xyz\n  \n  {\n    \"fromChainId\": 701,\n    \"fromAddress\": \"0x65be094765731f394bc6d9df53bdf3376f1fc8b0\",\n    \"toChainId\": 2494104990,\n    \"toAddress\": \"0x65be094765731f394bc6d9df53bdf3376f1fc8b0\",\n    \"message\": \"0x1841a477000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000002b496f19a420c02490db859fefeccd71edc2c046000000000000000000000000dc0c760c0fb4672d06088515f6446a71df0c64c1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a4e80f03d0000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000e7578598aac020abfb918f33a20fad5b71d670b4000000000000000000000000092e19c46c9daab7824393f1cd9c22f5bea135600000000000000000000000004ca75992d2750bec270731a72dfdede6b9e71cc700000000000000000000000088a39b052d477cfde47600a7c9950a441ce61cb40000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000018e98a317b100000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000c29dcb1f12a1618262ef9fba673b77140adc02d60000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001488a39B052d477CfdE47600a7C9950a441Ce61cb400000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n    \"multi\": [\"ormp\"],\n    \"ormp\": {\n      \"refundAddress\": \"0x570FCA2c6f902949dBb90664Be5680fEc94A84f6\"\n    }\n  }\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringecosystem%2Fmsgport-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fringecosystem%2Fmsgport-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringecosystem%2Fmsgport-api/lists"}