diff --git a/rpc/types_broadcast_transaction.go b/rpc/types_broadcast_transaction.go index 8e374966..f5ccb6bb 100644 --- a/rpc/types_broadcast_transaction.go +++ b/rpc/types_broadcast_transaction.go @@ -58,15 +58,15 @@ type BroadcastDeclareV2Txn struct { } type BroadcastDeclareTxnV3 struct { - Type TransactionType `json:"type"` - SenderAddress *felt.Felt `json:"sender_address"` - CompiledClassHash *felt.Felt `json:"compiled_class_hash"` - Version NumAsHex `json:"version"` - Signature []*felt.Felt `json:"signature"` - Nonce *felt.Felt `json:"nonce"` - ContractClass *ContractClass `json:"contract_class"` - ResourceBounds map[Resource]ResourceBounds `json:"resource_bounds"` - Tip *felt.Felt `json:"tip"` + Type TransactionType `json:"type"` + SenderAddress *felt.Felt `json:"sender_address"` + CompiledClassHash *felt.Felt `json:"compiled_class_hash"` + Version NumAsHex `json:"version"` + Signature []*felt.Felt `json:"signature"` + Nonce *felt.Felt `json:"nonce"` + ContractClass *ContractClass `json:"contract_class"` + ResourceBounds ResourceBoundsMapping `json:"resource_bounds"` + Tip *felt.Felt `json:"tip"` // The data needed to allow the paymaster to pay for the transaction in native tokens PayMasterData []*felt.Felt `json:"paymaster_data"` // The data needed to deploy the account contract from which this tx will be initiated diff --git a/rpc/types_transaction.go b/rpc/types_transaction.go index f1eb42f1..d3698e10 100644 --- a/rpc/types_transaction.go +++ b/rpc/types_transaction.go @@ -220,8 +220,6 @@ type DeployAccountTxnV3 struct { Tip *felt.Felt `json:"tip"` // The data needed to allow the paymaster to pay for the transaction in native tokens PayMasterData []*felt.Felt `json:"paymaster_data"` - // The data needed to deploy the account contract from which this tx will be initiated - AccountDeploymentData []*felt.Felt `json:"account_deployment_data"` // The storage domain of the account's nonce (an account has a nonce per DA mode) NonceDataMode DAMode `json:"nonce_data_availability_mode"` // The storage domain of the account's balance from which fee will be charged