Skip to content

Commit

Permalink
Fix ABI object return type
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-agarwal-coinbase committed Sep 18, 2024
1 parent 8c400c5 commit 2d43968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coinbase/smart_contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class SmartContract {
*
* @returns The ABI as a JSON-encoded string.
*/
public getAbi(): string {
public getAbi(): object {
return JSON.parse(this.model.abi);
}

Expand Down

0 comments on commit 2d43968

Please sign in to comment.