{"id":13408904,"url":"https://github.com/stakingagency/sa-mx-sdk-go","last_synced_at":"2026-03-09T12:16:50.484Z","repository":{"id":154169904,"uuid":"631631452","full_name":"stakingagency/sa-mx-sdk-go","owner":"stakingagency","description":"MultiversX Golang SDK by Staking Agency","archived":false,"fork":false,"pushed_at":"2024-09-18T07:38:57.000Z","size":365,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-18T09:37:43.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/stakingagency.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-04-23T16:23:29.000Z","updated_at":"2024-09-18T07:27:09.000Z","dependencies_parsed_at":"2024-10-26T04:08:11.294Z","dependency_job_id":"66332260-feb6-421a-a8b6-49cbf4e11d92","html_url":"https://github.com/stakingagency/sa-mx-sdk-go","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/stakingagency/sa-mx-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakingagency%2Fsa-mx-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakingagency%2Fsa-mx-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakingagency%2Fsa-mx-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakingagency%2Fsa-mx-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stakingagency","download_url":"https://codeload.github.com/stakingagency/sa-mx-sdk-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stakingagency%2Fsa-mx-sdk-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30295208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-07-30T20:00:56.381Z","updated_at":"2026-03-09T12:16:50.462Z","avatar_url":"https://github.com/stakingagency.png","language":"Go","funding_links":[],"categories":["MultiversX community"],"sub_categories":["SDKs and dev tools"],"readme":"# sa-mx-sdk-go\nMultiversX Golang SDK by Staking Agency\n\n\nThis kit makes building on the MultiversX blockchain a walk in the park.\n\n1. **[Accounts](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/accounts)**\n   - `GetAccountKeys` - retrieves all the keys associated with an account. Useful for reading a SC's storage.\n   - `DNSResolve` - pass a herotag a get the associated address\n   - `GetEgldBalance` - easily retrieve an account's eGLD balance\n   - `GetTokensBalances` - same as above, but for an account's ESDTs\n   - `GetTokenDecimals` - get an ESDT's number of decimals\n\n   *Callbacks:* `EgldBalanceChanged` `TokenBalanceChanged`\n\n2. **[Exchanges](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/exchanges)**\n   + [xExchange](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/exchanges/xexchange)\n      - `GetDexPairs` - reads all trading pairs listed on xExchange\n      - `GetPairByTickers` - specify the pair's tickers and get all the pair details\n      - `GetPairByContractAddress` - get a pair's details by its contract address\n\n      *Callbacks:* `NewPair` `PairStateChanged` `DexStateChanged`\n\n   + [OneDex](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/exchanges/onedex)\n      - `GetLiquidityPools` - get all liquidity pools\n      - `GetFarms` - get all farms (simple and dual)\n      - `GetStakes` - get all coins stakes\n      - `GetLaunchpads` - get all launchpads\n\n      *Callbacks:* `NewPair` `PairStateChanged` `NewStake` `NewFarm` `NewDualFarm` `NewLaunchpad` `LaunchpadEnded` `AnnualRewardChanged` `StakeAprChanged`\n\n3. **[Network](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/network)**\n   - `SearchIndexer` - a powerful function to retrieve data from an ES indexed with MultiversX data (retrieves more than 10,000 records)\n   - `GetTxInfo` - gets a transaction's details from ES\n   - `GetTxLogs` - gets a transaction's logs from ES\n   - `GetTxOperations` - gets a transaction's operations from ES\n   - `GetTxResult` - after sending a tx, call this function to wait for the tx's result and get a detailed error if it fails\n   - `GetNetworkConfig` - retrieves the network configuration from the proxy\n   - `SendTransaction` - sends a tx with customizable gas limit, data field, nonce\n   - `SendEsdtTransaction` - generates and sends an ESDT transfer\n\n4. **[Staking](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/staking)**\n   - `GetAllProvidersAddresses` - returns all the staking providers contracts addresses\n   - `GetMetaData` - get the name, website and identity for a specific provider\n   - `GetUserStakeInfo` - gets a user staking details for a specific provider\n   - `GetProviderConfig` - gets a provider configuration details\n   - `GetProvidesConfigs` - gets all providers configurations\n\n   *Callbacks:* `ProviderOwnerChanged` `ProviderNameChanged` `ProviderFeeChanged` `ProviderCapChanged` `ProviderSpaceAvailable` `NewProvider` `ProviderClosed`\n\n5. **[Tokens](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/tokens)**\n   - `GetTokens` - retrieves all issued tokens (takes a while ...)\n   - `IsTokenPaused` - returns true if the specified ESDT is paused\n   - `GetTokenProperties` - retrieves an ESDT's properties, including all mint info\n\n   *Callbacks:* `NewTokenIssued` `TokenStateChanged` `TokenSupplyChanged`\n\n6. **[telegramBot](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/telegramBot)**\n   - `SendMessage` - sends a message to the specified user ID (can be a chat ID as well)\n   - `SendFormattedMessage` - same as above, but you can specify the text format (markdown or html)\n\n   *Callbacks:* `PrivateCommandReceived` `PublicCommandReceived` `PrivateMessageReceived` `PublicMessageReceived` `PrivateReplyReceived` `CallbackReceived`\n\n\n\n**[ABI2GO](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/abi2go)**\nThis is a very useful tool (still beta though) that generates Go language bindings to a MultiversX SC.\n\n\n**[Examples](https://github.com/stakingagency/sa-mx-sdk-go/tree/master/examples)**\nHere you will find examples for each of the packages presented above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstakingagency%2Fsa-mx-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstakingagency%2Fsa-mx-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstakingagency%2Fsa-mx-sdk-go/lists"}