@@ -21,6 +21,7 @@ import {
2121 EstimateFee ,
2222 EstimateFeeAction ,
2323 EstimateFeeDetails ,
24+ EstimateFeeResponseBulk ,
2425 Invocation ,
2526 InvocationsDetails ,
2627 InvocationsSignerDetails ,
@@ -219,7 +220,7 @@ export class Account extends Provider implements AccountInterface {
219220 public async estimateFeeBulk (
220221 transactions : TransactionBulk ,
221222 { nonce : providedNonce , blockIdentifier } : EstimateFeeDetails = { }
222- ) : Promise < Array < EstimateFee > > {
223+ ) : Promise < EstimateFeeResponseBulk > {
223224 const nonce = toBN ( providedNonce ?? ( await this . getNonce ( ) ) ) ;
224225 const version = toBN ( feeTransactionVersion ) ;
225226 const chainId = await this . getChainId ( ) ;
@@ -293,7 +294,7 @@ export class Account extends Provider implements AccountInterface {
293294 } ) ;
294295 }
295296
296- private async buildInvocation (
297+ public async buildInvocation (
297298 call : Array < Call > ,
298299 signerDetails : InvocationsSignerDetails
299300 ) : Promise < Invocation > {
@@ -557,7 +558,7 @@ export class Account extends Provider implements AccountInterface {
557558 return feeEstimate . suggestedMaxFee . toString ( ) ;
558559 }
559560
560- private async buildDeclarePayload (
561+ public async buildDeclarePayload (
561562 { classHash, contract } : DeclareContractPayload ,
562563 { nonce, chainId, version, walletAddress, maxFee } : InvocationsSignerDetails
563564 ) : Promise < DeclareContractTransaction > {
@@ -578,7 +579,7 @@ export class Account extends Provider implements AccountInterface {
578579 } ;
579580 }
580581
581- private async buildAccountDeployPayload (
582+ public async buildAccountDeployPayload (
582583 {
583584 classHash,
584585 addressSalt = 0 ,
@@ -610,7 +611,7 @@ export class Account extends Provider implements AccountInterface {
610611 } ;
611612 }
612613
613- private buildUDCContractPayload (
614+ public buildUDCContractPayload (
614615 payload : UniversalDeployerContractPayload | UniversalDeployerContractPayload [ ]
615616 ) : Call [ ] {
616617 const calls = [ ] . concat ( payload as [ ] ) . map ( ( it ) => {
0 commit comments