{"id":20621660,"url":"https://github.com/steppsr/get_coin_id","last_synced_at":"2026-04-28T01:31:11.267Z","repository":{"id":210845403,"uuid":"727582429","full_name":"steppsr/get_coin_id","owner":"steppsr","description":"This Bash script will get the nft_coin_id for a given nft_id. The script will search all Wallet IDs until it finds the NFT ID, then return the Coin ID for the NFT.","archived":false,"fork":false,"pushed_at":"2023-12-05T07:06:53.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T05:39:38.281Z","etag":null,"topics":["bash","chia","chia-blockchain","nft"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steppsr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-05T06:40:59.000Z","updated_at":"2023-12-12T03:23:00.000Z","dependencies_parsed_at":"2023-12-05T07:44:00.187Z","dependency_job_id":null,"html_url":"https://github.com/steppsr/get_coin_id","commit_stats":null,"previous_names":["steppsr/get_coin_id"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/steppsr/get_coin_id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steppsr%2Fget_coin_id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steppsr%2Fget_coin_id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steppsr%2Fget_coin_id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steppsr%2Fget_coin_id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steppsr","download_url":"https://codeload.github.com/steppsr/get_coin_id/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steppsr%2Fget_coin_id/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bash","chia","chia-blockchain","nft"],"created_at":"2024-11-16T12:18:48.094Z","updated_at":"2026-04-28T01:31:11.242Z","avatar_url":"https://github.com/steppsr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get_coin_id\n\nThis Bash script will get the `nft_coin_id` for a given `nft_id`. The script will search all Wallet IDs until it finds the NFT ID, then return the Coin ID for the NFT.\n\n## Parameters\n\n- Parameter 1 = NFT ID\n\n## Running the command\n\n```\nbash get_coin_id.sh \u003cnft_id\u003e\n\nExample:\nbash get_coin_id.sh nft1y4ff5f2dqdr7ss6hnq6mudwwpj03dpmd9vefdfks4t9hcmfe5acq3cyk7z\n\n```\n\n## How is this useful? \n\nIf you've ever wanted to create a zero mojo NFT offer, you need to use the RPC (currently) and that requires the Coin ID for your NFT. Here is an format for creating a zero mojo NFT.\n\n```\n\nchia rpc wallet create_offer_for_ids '{\"offer\":{\"COIN_ID_HERE\":-1},\"fee\":0,\"driver_dict\":{},\"validate_only\":false}'\n\n```\n\nBe sure to replace `COIN_ID_HERE` with your Coin ID for your NFT.\n\nHere is an real example:\n\n```\n\nchia rpc wallet create_offer_for_ids '{\"offer\":{\"0xb0986cc156ab4fb6917722d400486ef9ecb2033d74aa553d0717eed6716e5e57\":-1},\"fee\":0,\"driver_dict\":{},\"validate_only\":false}'\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteppsr%2Fget_coin_id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteppsr%2Fget_coin_id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteppsr%2Fget_coin_id/lists"}