chore(openapi): use contract_address only

This commit is contained in:
Friedger Müffke
2020-10-01 14:27:30 +02:00
committed by Matthew Little
parent 61e55c54ab
commit 3ada91d44c
4 changed files with 31 additions and 31 deletions

View File

@@ -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: {