mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 16:53:19 +08:00
chore(openapi): use contract_address only
This commit is contained in:
committed by
Matthew Little
parent
61e55c54ab
commit
3ada91d44c
@@ -15,7 +15,7 @@ import { Configuration, BlocksApi, SmartContractsApi } from '../src/index';
|
||||
|
||||
const smartContractsApi = new SmartContractsApi(apiConfig);
|
||||
const readOnly = await smartContractsApi.callReadOnlyFunction({
|
||||
stacksAddress: 'ST12EY99GS4YKP0CP2CFW6SEPWQ2CGVRWK5GHKDRV',
|
||||
contractAddress: 'ST12EY99GS4YKP0CP2CFW6SEPWQ2CGVRWK5GHKDRV',
|
||||
contractName: 'flip-coin-jackpot',
|
||||
functionName: 'get-optional-winner-at',
|
||||
readOnlyFunctionArgs: {
|
||||
|
||||
Reference in New Issue
Block a user