{"id":2202026,"recorded_at":"2026-11-02T19:13:31.402104Z","observed_at":"2026-11-02T19:13:31.402040Z","subject_kind":"source_record","subject":"x402_bazaar:https://crypto-math.x402tookit.com/mod-inverse","kind":"listing","method":"sync.x402_bazaar/1","body":{"endpoints":[["x402","https://crypto-math.x402tookit.com/mod-inverse"]],"name":"Crypto Math","owner_address":"0xb531320805c5bed1d46aeadcf4f008fdf172dbda","raw":{"accepts":[{"amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa","scheme":"exact"},{"amount":"20000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM","transactionVersions":[0]},"maxTimeoutSeconds":300,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s","scheme":"exact"},{"amount":"20000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:137","payTo":"0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa","scheme":"exact"},{"amount":"20000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:42161","payTo":"0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa","scheme":"exact"}],"description":"Modular multiplicative inverse of a mod m, or the gcd that proves none exists.","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"a":"17","mod":"3120"},"type":"http"},"output":{"example":{"asOf":"2026-10-11T23:46:29.024Z","check":"1","degraded":false,"disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.","gcd":{"bits":1,"decimal":"1","hex":"0x1"},"notChecked":["side channels: this is not constant-time, so never use it with a secret value","whether the modulus is prime"],"reasons":["Found with the extended Euclidean algorithm: a*x + m*y = 1, so x is the inverse.","Check: (a * result) mod m = 1."],"result":{"bits":12,"decimal":"2753","hex":"0xac1"},"source":"extended Euclidean algorithm on JavaScript BigInt, computed locally","summary":"The inverse of a mod m is 2753.","verdict":"COMPUTED"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"a":{"description":"Number to invert, whole number (decimal or 0x hex)","type":"string"},"mod":{"description":"Modulus, whole number of at least 2","type":"string"}},"required":["a","mod"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"asOf":{"type":["null","string"]},"check":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"gcd":{"properties":{"bits":{"type":["null","number"]},"decimal":{"type":["null","string"]},"hex":{"type":["null","string"]}},"type":["null","object"]},"notChecked":{"items":{"type":"string"},"type":["array","null"]},"reasons":{"items":{"type":"string"},"type":["array","null"]},"result":{"properties":{"bits":{"type":["null","number"]},"decimal":{"type":["null","string"]},"hex":{"type":["null","string"]}},"type":["null","object"]},"source":{"type":["null","string"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-01T22:46:18.538Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":2,"lastCalledAt":"2026-11-01T22:46:18.356Z"},"resource":"https://crypto-math.x402tookit.com/mod-inverse","serviceName":"Crypto Math","tags":["modular","inverse","euclid","number-theory"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"Modular multiplicative inverse of a mod m, or the gcd that proves none exists."},"body_sha256":"ff8bdf1fd85bfb0adb56ea13d3f5593c585b09e475569fd7d80e06b414e56198","prev_id":null,"leaf":"0xa88c0a2075ecdba7a42c61747cfeae471360cea010f89990136809e435d9a09b","leaf_text":"{\"body\":\"ff8bdf1fd85bfb0adb56ea13d3f5593c585b09e475569fd7d80e06b414e56198\",\"id\":2202026,\"kind\":\"listing\",\"method\":\"sync.x402_bazaar/1\",\"observed_us\":1793646811402040,\"prev\":null,\"subject\":\"x402_bazaar:https://crypto-math.x402tookit.com/mod-inverse\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-11-02","leaves":444186,"root":"0x78fecaabbe319e56f5c4b80fc02e2052e198ad24781da8832a475ff65f2002d1","chained":"0xdc35957db5d1371ca382b9152878ffece28ec7c5cb4f98fd71ddb367f8b999b2","anchor_chain":"eip155:5042002","anchor_tx":"0x56b814612eb2e3e544153df3e91e1f7199106d1e430c7d8c6b653feeb9ebe9af","anchor_block":70432815},"proof":["0xa88c26c6ee1c93bf03975df6188b1cd5cdbe0dbee4e341b0659cd7af519738cb","0xf70732185d2106fdd950a54b393620b23eaa0007a4e6848ea93f34dec12d111c","0x75f10b6607ba55aa5e3726bc8339f4d57dc37dd09eda6ab4a50fd78ba990922b","0x3f31148b6468dfe86ecbd49b2a3a6ffa809f4fa6f2cf636634e38966126a70f6","0xc909217994f95304f0aa3af4094f8bf59b4b4ab491bb720dfc7c4f580f39afc8","0x36c06fa20f108f69f4825a1c3a4bcf16d4e5afa4c51002294665c453c5350e1c","0x2cd54d0838386d19e32ee11e007f744629b764fc2027b9aa698f711761157910","0x54d5db12e5780b4732581a90384c95ab820003de3bd60de27cc9d23207965d90","0xee80b2c23560ba1d00fec4c6e48ca0e42bf67cb27c3eb9d8382ac663e2feb155","0x025f90a4ac610bb195520b6ec7cc71b34db4a835a8c1f2e22e530b354480cfca","0xabaddc3d6a701f07a62ef798b40fe3ba319dc7441591486022f6e131f4383d96","0xd092c4592746638c988be0201bef3aa0097a159b2bde204654e1174f70c7897c","0xf7fc51348087e5c1e3d386772d38113ebc053fa2bb0a5e6728e5f86d0ac25db5","0x7a6e52c5cebe3ec69d18cc200885d32108ba1be1b19f2da2ead8becbf3db3cb1","0x7abf7290721a0b95be706db03c09de9df65bcba8e18ffe4616da43d9c31d6b0a","0x7731256c7406f95d30aabe3bbcb574b72535b9c28e8eb3db363210761a28a6b9","0x07ad80c0c234ecea379a2f4450dfd0804db049dbc62abe77af6306049ca6b6c2","0x98cbbf2c68ab4c0b4db782aeb88bea1f30b02178cf8b5d3d24a931d19492ea6d","0x252cce55f1a3d5391c16f82d7f62494429a5f69b03486d4cfcfb7b2c96d6c884"]}