diff --git a/src/GeniusSDK.cpp b/src/GeniusSDK.cpp index 911b384..e1a7e41 100644 --- a/src/GeniusSDK.cpp +++ b/src/GeniusSDK.cpp @@ -175,9 +175,9 @@ GeniusMatrix GeniusSDKGetBlocks() return matrix_from_buffer( blocks ); } -void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id ) +void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id, const char *token_id ) { - GeniusNodeInstance->MintTokens( amount, transaction_hash, chain_id ); + GeniusNodeInstance->MintTokens( amount, transaction_hash, chain_id, token_id ); } GeniusAddress GeniusSDKGetAddress() diff --git a/src/GeniusSDK.h b/src/GeniusSDK.h index 5a3b08c..8e81ac9 100644 --- a/src/GeniusSDK.h +++ b/src/GeniusSDK.h @@ -58,7 +58,7 @@ GNUS_VISIBILITY_DEFAULT uint64_t GeniusSDKGetBalance(); GNUS_VISIBILITY_DEFAULT GeniusMatrix GeniusSDKGetTransactions(); GNUS_VISIBILITY_DEFAULT void GeniusSDKFreeTransactions( GeniusMatrix matrix ); GNUS_VISIBILITY_DEFAULT GeniusMatrix GeniusSDKGetBlocks(); -GNUS_VISIBILITY_DEFAULT void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id ); +GNUS_VISIBILITY_DEFAULT void GeniusSDKMintTokens( uint64_t amount, const char *transaction_hash, const char *chain_id, const char *token_id ); GNUS_VISIBILITY_DEFAULT GeniusAddress GeniusSDKGetAddress(); GNUS_VISIBILITY_DEFAULT bool GeniusSDKTransferTokens( uint64_t amount, GeniusAddress *dest ); GNUS_VISIBILITY_DEFAULT uint64_t GeniusSDKGetCost( const JsonData_t jsondata );